4 ms·
With pre-processing: sort the source data so that the same bytes (along with their offsets) are grouped together, then convert this to code. It could be useful
by jhallenworld 4y ago
With pre-processing: sort the source data so that the same bytes (along with their offsets) are grouped together, then convert this to code. It could be useful for drawing things like fixed sprites quickly.
- rzzzt 4y agoThis presentation of "A Pig Quest" for the C64 describes similar methods for efficient bitmap copying (the timestamped part is more relevant, but I recommend watching the entire thing): https://youtu.be/I8CTKeh8N0Q?t=578 https://youtu.be/I8CTKeh8N0Q?t=578