Mail Archives: djgpp/1997/08/09/01:55:46
Janko Heilgeist wrote in article
<01bca43a$76d41440$39a340c2 AT pjheilg DOT goslar DOT netsurf DOT de>...
>we tried to optimize our tile based game engine by using compiled sprites
>instead of rle sprites.
>Result: 30000 tiles need 21 seconds with compiled sprites (20 seconds with
>We used the sprite routines draw_rle_sprite and draw_compiled_sprite of
> Janko and Stefan
I'm not a professional in speed matters. But I can tell you this...
If you've got a Pentium processor, tight loops are more efficient than
sprite because the processor can hold the entire code sequence in its
cache and only needs to read in memory for the sprite, not the code...
- Raw text -