Comment 7 for bug 1745196

Revision history for this message
John Cowan (johnwcowan) wrote :

Granted that >2 arguments is not a typical case, the argument list can be sorted and each consecutive pair compared for inequality. This is O(n log n) rather than O(n^2), though it does require n additional cons cells; it is slower but less space overhead than a hash table.