I just briefed through your discussion. 'pixel' can be quite slow in n7. It "spawns" tables (arrays) that the garbage collector has to deal with. I have already thought about letting 'pixel' reuse and return the same array every time it's called, but that might break some code that people have already written ... hm. Maybe a better solution would be to add something like 'pixeli' from n6 that returns the color as a single integer? The "only" problem with that is that n7 doesn't have integers, just doubles, but ... maybe it will still work since the integer range of a 64 bit double is that of a 32 bit integer. Me have to think
Questions about old games
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 6 Guest(s)