These changes currently reduce the frame time of the server browser menu from 9.6 to 5.6 milliseconds on my computer.
The changes include two things: Simplified cubescript code and a new feature: {} blocks. The {} blocks are compiled directly in the compile phase and not treated as strings, that would be compiled on each frame when the code runs.
This is a work in progress and I don't know if this is the best solution. What do you think about it?
These changes currently reduce the frame time of the server browser menu from 9.6 to 5.6 milliseconds on my computer.
The changes include two things: Simplified cubescript code and a new feature: {} blocks. The {} blocks are compiled directly in the compile phase and not treated as strings, that would be compiled on each frame when the code runs.
This is a work in progress and I don't know if this is the best solution. What do you think about it?