Hi All
I wrote some code doing a lot of sprite blitting. Works really well - several hundred frames per second using dirty rectangles to avoid complete redraw. Loverly stuff.
The only problem was that I keep getting “jittering” at the start of program execution (performance is stuttery for about first 5-10 seconds). I’ve traced the GC and see that I get a single long GC then many tiny GC events which should be too swift to notice. I presume that the stuttering in performance that I see is JIT - related.
Is there any way around this? It really ruins the start of my game. I’ve started coding this up in C++/SDL for comparison - unless I can find some way to avoid what I presume is compilation stalls, I’m going to just go with coding this up in C++.