Re: unsafePtrCompare, anybody?

15 Sep
2001
15 Sep
'01
4:04 p.m.
Sat, 15 Sep 2001 15:11:02 -0400, Leon Smith
The point of all of this is that now string equality, when strings are made into atoms, is just pointer equality, which is available as IOExts.unsafePtrEq.
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.
The physical pointer order changes with garbage collection. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK
8649
Age (days ago)
8649
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcin 'Qrczak' Kowalczyk