[cl-plus-ssl-devel] Speeding Up cl+ssl on clisp

Pixel // pinterface pinterface at gmail.com
Sat Jul 7 03:26:54 UTC 2007


I am, or rather my program is, busy moving megabytes worth of data using
cl+ssl/clisp, rather than bytes, so it being slow isn't a viable option
(apparently users are impatient?). And boy is it slow! So I hacked it up and
made it faster by by an order of zippiness.

There's some explanation here:
  http://web.kepibu.org/code/lisp/cl+ssl/#faster-clisp
And a patch + some new files here:
  http://web.kepibu.org/code/lisp/cl+ssl/cl+ssl-clisp-speedup-patch.tar.gz

Basically, I ditch cffi's with-pointer-to-vector-data in favor of dealing
with clisp's ffi.

It isn't particularly pretty (my code rarely is :P), but it does amount to a
fairly significant speed increase, and pending any bugs shouldn't affect
behavior on other implementations.

Just in case anyone else has a similar setup and needs it to be a bit
faster. :)




More information about the cl-plus-ssl-devel mailing list