STORKEL@RICE.BITNET (Scott Storkel) (11/18/87)
Here's what I'm trying to do: I have two, or more lists of card id numbers and I want to compute the union or intersection of the lists. The reason is that the lists contain the id numbers of cards that have information belonging in a certain category. The information on a card, may however fit into more than one category. To find all the cards that have information that belongs in category A, or category B I need to take the union of the two lists, or to get category A and category B, the intersection. What I want to know is, is there a quick algorithm for doing this? The only ways I can think of seem to be reminiscent of the bubblesort, i.e. sssslllloooooowwwwww. So is there a method of doing a QuickIntersection, and/or a QuickUnion? Please e-mail replies to me directly, if possible. Thanks for the help. Scott Storkel Rice University Macintosh Software Development (STORKEL@RICE.BITNET)