[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A different approach



felix winkelmann scripsit:

> If I want to generate a unique tag, I can just as well use a vector or pair.

Agreed.

> And if I want to avoid symbol clashes GUIDs should be sufficient. The
> question is
> just how often we need unique symbols (when things can be done with other
> methods). 

Code generation is of course the primary use-case for uninterned symbols.
For this use, GUIDs are too heavyweight to generate and "too unique";
one typically does not need such strong uniqueness.

-- 
Only do what only you can do.               John Cowan <jcowan@xxxxxxxxxxxxxxxxx>
  --Edsger W. Dijkstra's advice             http://www.reutershealth.com
    to a student in search of a thesis      http://www.ccil.org/~cowan