[plt-scheme] symbol<=?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Tue Jul 17 22:17:56 EDT 2007

But do beware premature optimization!

Robby

On 7/17/07, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
> 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
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.