Thats essentially how table compression works
you have an array of indecies and a lookup table of data corresponding to those indecies.
Precisely what I was suggesting although I didnt use code to explain it.. that way you dont need to use types you jsut need to know how the data is stored in a memory bank
Ok you have the overhead of the table lookup but you have a massive improvement in memory usage. Thats the compromise, the trick now is to work out the best balance.
- Luke
you have an array of indecies and a lookup table of data corresponding to those indecies.
Precisely what I was suggesting although I didnt use code to explain it.. that way you dont need to use types you jsut need to know how the data is stored in a memory bank
Ok you have the overhead of the table lookup but you have a massive improvement in memory usage. Thats the compromise, the trick now is to work out the best balance.
- Luke