5 ms·
For optimum performance (especially games), you have to understand Javascript garbage collection pretty well; basically create all your objects up front in some
by endemic 12y ago
For optimum performance (especially games), you have to understand Javascript garbage collection pretty well; basically create all your objects up front in some sort of cache, to avoid stutter during GC. It's not impossible, but an annoyance that you only really have to worry about on mobile platforms (due to more limited resources).
- viraptor 12y agoSure, you have to understand your platform, especially when you use GC-enabled languages. But a) asmjs is only going to improve the situation b) there's a list of people proving it's not only possible, but also not that bad in practice https://unity3d.com/showcase/gallery/?platform=324&genre=&gametype=t-all https://unity3d.com/showcase/gallery/?platform=324&genre=&ga...