General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lepi Doptera
Core Dumped
comments
Comments by "Lepi Doptera" (@lepidoptera9337) on "WHY IS THE HEAP SO SLOW?" video.
Is this an AI generated video? This is complete bullshit. ;-)
2
The most simple memory management strategy that solves 99.9% of all such problems is to pre-allocate the most memory that the program will ever need. I do not understand what is supposed to be hard about that. It's extremely simple. Also very cheap. 64GB of DDR 4 can be had for less than hundred fifty bucks these days. How many hours of memory optimized programming can you perform for that much money? Kids... no sense for economics these days. :-)
1
@michaelutech4786 A program that needs infinite memory will never terminate. In practice any program that exceeds the limits of the L2 cache with random access patterns basically reduces the performance of the CPU to roughly 1% of its maximum or less these days. Dude, you are just making a fool of yourself here. :-)
1
@michaelutech4786 Dude, you seriously need to read up on computing. It's a HARDWARE thing. Nobody can run a program in any language on that theoretical ideal computer that seems to be blocking your brain from thinking rationally about computing. :-) What guarantees that you aren't getting cache misses is YOUR algorithm. What guarantees that you don't need a page file is YOUR algorithm. There are strategies for both, but nothing that you mention and that is built into the language, compiler, library or even OS level does this for YOU. YOU have to start thinking. And if what you want to do does not work on the piece of hardware that you have, then YOU need to build a piece of hardware on which it does work. :-)
1
Yes, he told you that you don't know how your computer words and you thought that's a good thing. ;-)
1