esfomeado
N o_0 B
- Joined
- Nov 29, 2010
- Messages
- 277
- Reaction score
- 21
In the last days i have been benchmarking/testing and analyzing the TFS source code and i have found some things that could be improved.
I consider this the main thing that could be improve on TFS.
Map Format:
I consider this the main thing that could be improve on TFS.
Map Format:
Actual: Load all the map in the memory on startup
The main advantage of this is the speed of accessing the map.
New Format: Split in the map in chunks and loaded them into memory only when needed.
Other Improvements:The main advantage of this is the speed of accessing the map.
New Format: Split in the map in chunks and loaded them into memory only when needed.
Advantages:
- Really small memory usage
- Faster server saves
- You can buy cheaper VPS/Dedicated Servers because it will use lees recourses.
- Others
- Small performance decrease. (It will make no difference for players)
- Stacked items aren't all a item and what i mean by this is if you have a stack of 100 gold you will have 100 items and this leads to a big memory waste because you could have only a item and say that item is actually 100 of them.
- More ideias coming soon!