[Include] xskins.inc - Skins Info + Skin Check Optimizations
#5

Quote:

it isn't really fast

which code?

added to the speed optimization, it also reduces the memory usage.Variables take 4 bytes(char takes 1) and if you make 300 * 5 * 4 = 300 * 20 = 6000 = 6KB of memory if used int separate variables and most of that memory is waste.Instead this script uses just 300 * 4 = 1200bytes = 1.2KB
And I am trying to make it into char so it would use just 300KB and thats 6000/300= 20x times memory saved.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)