[cl-store-devel] optimizing default backend

Leslie P. Polzer leslie.polzer at gmx.net
Wed May 30 15:03:21 UTC 2012


Max Mikhanosha wrote:
> Is there any interest in having following type enhancement to default
> backend, and will a patch implementing it be considered?
> 
> * Introduce buffering by an having an (UNSIGNED-BYTE 8) array
>   bound to a global (similar to the circularity hashes)
> 
> * Replace every WRITE-BYTE with an inline wrapper that buffers into
>   the above array, and calls a generic FLUSH-STORE-BUFFER when its full
> 
> * Default FLUSH-STORE-BUFFER method will call write-sequence
> 
> Above was brought on by disappointing timings of using CL-STORE to
> serialize to files vs serializing to in-memory streams under
> SBCL. Tried both flexi-streams and babel-streams, and it seems writing
> to files directly is around 3x times faster then writing to in-memory
> streams

I'm enthusiastic about it! Please show us your patch and I will be happy
to review and apply it.

  Leslie
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a




More information about the cl-store-devel mailing list