[gambit-list] List vs vector in Gambit Q

Adam adam.mlmb at gmail.com
Wed Sep 30 09:26:43 EDT 2020


Dear Marc,

Is it that Gambit tends to allocate a list's elements, in sequential memory
order, and |cdr| internally tends to be a +1 pointer operation?

I recall you said something to this effect in the past.

Thought came to mind now, that what about that Gambit could have use of an
|apply| form that takes a vector as argument, due to prevalence of speed
benefit of vector over list.

Please share your thoughts on this one.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20200930/1c838858/attachment.htm>


More information about the Gambit-list mailing list