Thread view

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
quite nasty.
The message is the same as the note I get at compile time:
; note: unable to
; optimize
; because:
; 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-ALIEN-INTERNALS:NATURALIZE
; (SB-SYS:SAP+ SB-ALIEN::SAP (/ SB-ALIEN::OFFSET SB-VM:N-BYTE-BITS))
; '#<SB-ALIEN-INTERNALS:ALIEN-RECORD-TYPE (STRUCT SDL:SURFACE
; (SDL::FLAGS
(UNSIGNED 32))
; (FORMAT (* #))
; (SDL::W (SIGNED
32))
; (SDL::H (SIGNED
32))
; (SDL::PITCH
(UNSIGNED 16))
;
etc.
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.
Cheers,
Charlie.
(cross posted to c.l.l)