My IFS Designer application was just being tested with sbcl and
there's a problem. It would seem that for every point I draw to the
sdl:surface sbcl warns me about an optimization note regarding
sdl:event-loop. An IFS requires 1000s of points to be drawn so this is
The message is the same as the note I get at compile time:
; note: unable to
; could not optimize away %SAP-ALIEN: forced to do runtime
; allocation of alien-value structure
; compilation unit finished
; printed 1 note
; in: LAMBDA NIL
; (SB-SYS:SAP+ SB-ALIEN::SAP (/ SB-ALIEN::OFFSET SB-VM:N-BYTE-BITS))
; '#<SB-ALIEN-INTERNALS:ALIEN-RECORD-TYPE (STRUCT SDL:SURFACE
; (FORMAT (* #))
; (SDL::W (SIGNED
; (SDL::H (SIGNED
Sbcl also warns me about this when I compile the example1.lisp that
comes with it but come run-time all is well.
I'm not declaring any optimization prefences anywhere in my code fyi.
Any ideas, further tests, message inhibition suggestions.
(cross posted to c.l.l)