11-16-2024, 10:28 PM
(11-16-2024, 09:34 PM)ahenry3068 Wrote: Its good code. And I've been playing with similar techniques to pack RAM more tightly on the X16 a neo-retro 8 bit computer. However, I can't see why would ever need this technique on even a barely modern system. It's seems kind of a waste for a relatively small RAM savings.
No offense meant. It is quite nice code actually. IMO I just don't see the point..
What's the point? Huge. Just read the documentation for MP3 or MP4 format, for GIF format, also for TTF font files, for 1-bit bitmaps and so on. Bit fields need to be decoded everywhere, it's a perfectly common practice.