wasm-demo/demo/ermis-f/python_m/cur/1705

28 lines
706 B
Plaintext

From: gmcm at hypernet.com (Gordon McMillan)
Date: Sat, 24 Apr 1999 03:26:49 GMT
Subject: Efficient List Subtraction
In-Reply-To: <Qw6U2.5309$Bm3.343696@news20.ispnews.com>
References: <Qw6U2.5309$Bm3.343696@news20.ispnews.com>
Message-ID: <1287197880-43229653@hypernet.com>
X-UID: 1705
Jonothan Farr wrote:
> I have also longed for built in support for the union and
> intersection of two sequences.
>
> Perhaps:
> list.union(list2)
> and
> list.intersection(list2)
While not exactly what you're looking for, I suggest going to
chordate.com and looking for kjbuckets. It's got sets and graphs; you
can do intersections and closures...
- Gordon