caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Return "value" of caml_hash_variant
@ 2007-02-19 11:20 David Allsopp
  2007-02-19 11:36 ` [Caml-list] " Olivier Andrieu
  0 siblings, 1 reply; 2+ messages in thread
From: David Allsopp @ 2007-02-19 11:20 UTC (permalink / raw)
  To: OCaml List

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Return "value" of caml_hash_variant
  2007-02-19 11:20 Return "value" of caml_hash_variant David Allsopp
@ 2007-02-19 11:36 ` Olivier Andrieu
  0 siblings, 0 replies; 2+ messages in thread
From: Olivier Andrieu @ 2007-02-19 11:36 UTC (permalink / raw)
  To: David Allsopp; +Cc: OCaml List

On 2/19/07, David Allsopp <dra-news@metastack.com> wrote:
> 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?

?? those are ints ...


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-19 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-19 11:20 Return "value" of caml_hash_variant David Allsopp
2007-02-19 11:36 ` [Caml-list] " Olivier Andrieu

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