4 ms·Uh? You should also avoid memory (de)allocation in 'realtime' part of your code even in languages without GCs!by renox 9y agoUh? You should also avoid memory (de)allocation in 'realtime' part of your code even in languages without GCs!IshKebab 9y agoYou should, but it isn't a disaster if you don't, unlike with GC languages.renox 9y agoI'm not so sure, it depends a lot of the memory allocator: if the memory allocator decide to defragment your heap when you call it, you'll get a lot of additional latency..