From: Shriram Krishnamurthi (sk at cs.brown.edu) Date: Tue Jul 17 21:57:06 EDT 2007 |
|
Symbols are meant to support only one operation, which is a constant-time check for equality. In return, you surrender operations such as ordering. If you want an ordered set, use strings in the first place! (Or create a data structure that caches the string in a corresponding symbol, so you can have it both ways.) Shriram
Posted on the users mailing list. |
|