* tag hash function
@ 2007-05-29 18:00 Jeremy Yallop
0 siblings, 0 replies; only message in thread
From: Jeremy Yallop @ 2007-05-29 18:00 UTC (permalink / raw)
To: caml-list
Is there any kind of guarantee that given the name of a tag `T as a
string t that
(Obj.magic (CamlinternalOO.public_method_label t) : int)
will compute the hash code used to represent t? Is there a better way
to access the hash function (passing a string, not a tag)? Of course, I
could reimplement it myself, but I'd like something that will track any
changes to the internal function.
I'm trying to compute hash codes in a camlp4 extension.
Jeremy.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-29 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-29 18:00 tag hash function Jeremy Yallop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).