[plt-scheme] cost of closure?
I don't recall where I first came across this word (it's been a while), but
looking it up on the internet does show that there are a few different
meanings for it. The way I am describing it (hopefully clear) has closer
ties with relational database; where the fields are addressable by name and
by ordinals (in a data access layer).
http://en.wikipedia.org/wiki/Tuple#Usage_in_computer_science - describes a
few different tuple uses.
Perhaps you are thinking of the ordinal-only tuple, which is quite similar
to a vector?
On 6/1/07, Robby Findler <robby at cs.uchicago.edu> wrote:
>
> Where did you get the word "tuple" from? It doesn't seem to be
> ML-style tuples (which is where I am used to word from).
>
> Robby
>
> On 6/1/07, YC <yinso.chen at gmail.com> wrote:
> > IMO, Tuple is dissimilar from hash in that the fields are both named and
> > ordered (like a struct - that's why I call it an anonymous struct),
> where as
> > hashes have no guarantee on the order of the fields... in a way tuple
> is
> > similar to alist.
> >
> > CTOR and dtor are needed for properly acquire and release external
> resources
> > - but this might not be the scheme way... I don't know for sure yet.
> >
> > yinso
> >
> > On 5/31/07, Carl Eastlund <cce at ccs.neu.edu> wrote:
> > > On 6/1/07, YC <yinso.chen at gmail.com> wrote:
> > > > Tuples differ from vectors that they are indexed both by name &
> numbers,
> > but
> > > > if struct is a named vector, in that sense it won't really be
> different,
> > > > except struct is opaque and hence better for building AST than
> vector
> > IMHO.
> > >
> > > Ok, you want tuples with labelled fields. Now they sound more like
> > > hash tables on symbols or strings. Are they anything beyond that?
> > >
> > > --
> > > Carl Eastlund
> > >
> >
> >
> > _________________________________________________
> > For list-related administrative tasks:
> > http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070601/4a464957/attachment.html>