King of aren’t guaranteed, but with code without side effects it usually is.
For some reason I am thinking that equivalent python code will scale in linear manner.
Can you suggest the way to debug this issue and find what is preventing my code from scaling? Any GC tuning?