Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Milan Stanojević" <milanst@gmail.com>
To: Jeremie Dimino <jdimino@janestreet.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] open extensible types representation
Date: Wed, 14 May 2014 14:11:59 -0400	[thread overview]
Message-ID: <CAKR7PS8mE6rrA-mjRyNX4BcFusRaOvcvxw0q3NR1zu5aEUPEHw@mail.gmail.com> (raw)
In-Reply-To: <CANhEzE7rvy1dbEADy1bV5AhJWt4oBrt_2Gt3ks-Bmd-6mmDM3g@mail.gmail.com>

On Tue, May 13, 2014 at 12:57 PM, Jeremie Dimino <jdimino@janestreet.com> wrote:
> On Tue, May 13, 2014 at 5:39 PM, Milan Stanojević <milanst@gmail.com> wrote:
>>
>> How are these unique identifiers created?
>
>
> They are created at runtime by incrementing a global counter, using the same
> function as for objects.
>
>>
>> Is matching done by doing binary search on them?
>
>
> No, the ordering is not known at compile time.

So matching is a linear search?

  reply	other threads:[~2014-05-14 18:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13 15:53 Milan Stanojević
2014-05-13 16:07 ` Jeremie Dimino
2014-05-13 16:08   ` Jeremie Dimino
2014-05-13 16:39     ` Milan Stanojević
2014-05-13 16:57       ` Jeremie Dimino
2014-05-14 18:11         ` Milan Stanojević [this message]
2014-05-14 18:41           ` Alain Frisch
     [not found]             ` <5373B924.9020206@lexifi.com>
2014-05-14 20:56               ` Milan Stanojević
2014-05-14 23:33                 ` Leo White
2014-05-13 16:37 ` Frédéric Bour
2014-05-13 17:51   ` Frédéric Bour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKR7PS8mE6rrA-mjRyNX4BcFusRaOvcvxw0q3NR1zu5aEUPEHw@mail.gmail.com \
    --to=milanst@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=jdimino@janestreet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox