[cl-store-devel] Fastest way to convert an object to a vector?

Sean Ross rosssd at gmail.com
Fri Jan 26 15:17:39 UTC 2007


I've just committed  a quick change to cl-store which should help to
reduce the amount of consing which cl-store does.

Theres no concrete documentation yet (help is always welcome)
but you can now reuse the hash-tables which are created.

This can be accomplished by using

(cl-store:with-serialization-unit ()
  <lots of cl-store:store calls>)

This will reuse the circularity tracking hash-tables for scope of the call.
Using this in combination with a stream which is already open
will greatly reduce the amount of garbage which cl-store will create.


Cheers,
 Sean.



More information about the cl-store-devel mailing list