[gambit-list] Vector of Scheme Objects

lowly coder lowlycoder at huoyanjinjing.com
Thu May 21 14:41:37 EDT 2009


This seems like a really dumb question, and it's probably in the manual, but
I can't find it.

So I know that I can make a vector of u8s / floats, etc ... but what if I
want a vector of scheme objects (and I want the pointer from the vector to
the scheme object to be considered a link for the purpose of garbage
collection). What do I use for this? I don't want lists since they're O(n),
nor maps since they're O(log n), i could use a hashtable ... but I'd prefer
to use an array.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20090521/164e3773/attachment.html 


More information about the Gambit-list mailing list