01-14-2025, 08:20 AM
Hi!
I watched a video about Duff's devices today. It is sadly in french but I can send you some articles about it.
https://en.wikipedia.org/wiki/Duff%27s_device
https://www.geeksforgeeks.org/duffs-device-work/
It is very interesting, and I wonder if we can use this technique to optimize Tilengine even further. Imagine being able to draw X pixels in a single row, then do a check, without needing the window width to be a multiple of X?
I watched a video about Duff's devices today. It is sadly in french but I can send you some articles about it.
https://en.wikipedia.org/wiki/Duff%27s_device
https://www.geeksforgeeks.org/duffs-device-work/
It is very interesting, and I wonder if we can use this technique to optimize Tilengine even further. Imagine being able to draw X pixels in a single row, then do a check, without needing the window width to be a multiple of X?