On Sat, Apr 05, 2003 at 04:23:44PM -0800, Jason Dagit wrote:
> Has anyone else noticed draw-pixel being extremely slow? I was
> working on a raytracer and using draw-pixel to update the screen but
> it takes WAY longer to do that than write to a file. I even tried
> writing to an off screen surface then blit'ing that. But it's still
> about 1000 or more times slower than anything else. Even the CLX
> package is faster....
Last time I noticed that, I think it was due to a forgotten inline
declaration. Try adding (declaim (inline draw-pixel)) to the beginning
of sdl/sdl-ext.lisp and recompiling/loading.
--
; Matthew Danish <md...@an...>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."
|