English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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...)