From: David Abrahams (dave_at_[hidden])
Date: 2004-01-30 08:22:17


Vladimir Prus <ghost_at_[hidden]> writes:

> There are two alternatives. First is not sorting them anything all. This might
> cause too many property-sets which are equvivalent but have different
> property order. That can slow things down.

FWIW if you don't care about repetitions, you can quickly tell
whether two lists have the same elements by:

if $(l1) in $(l2) && $(l2) in $(l1)

-Dave

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com