Re: unsafePtrCompare, anybody?

17 Sep
2001
17 Sep
'01
5:11 p.m.
Leon Smith
However, in this situation, pointer comparison is simply an arbitrary total order on the set of all atoms, which is all we need to implement finite maps based on search trees. And of course, pointer comparisons are a much cheaper operation that actual string comparison.
You could just add an extra Int sequence number to your Atoms, and compare using that. Carl Witty
8647
Age (days ago)
8647
Last active (days ago)
0 comments
1 participants
participants (1)
-
cwitty@newtonlabs.com