Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Return "value" of caml_hash_variant
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-19 (11:20)
From: David Allsopp <dra-news@m...>
Subject: Return "value" of caml_hash_variant
Is it possible to cache the return value of caml_hash_variant in a global
variable without registering it as a root or, given the rather "special"
nature of these values, are they allocated outside the GC'd heap?

David (preferring to ask someone who'll know rather than delving into the
compiler sources to check...)