One of the things I find interesting is that it tells you exactly how much memory is in each memory slot on themotherboard.
我发现一件有趣的事情是,它确切地告诉你在另一个板上的每个内存槽中有多少内存。
How much memory does the program occupy?
这个程序占用多少内存?
它会使用多少内存?
So let me write that down, it's how much memory do I need to complete a computation.
让我把它写下来,当我计算的时候。
Why not write the program in a way where you figure out dynamically when the program is run how much memory you need rather than hard coding in two with or within that constant.
为什么不写一个可以动态的方式写那个程序,程序可以动态分配内存,而不是用常量硬编码两个值。
And by that, I mean, not how much memory do I need to store the size of the input, it's really how much internal memory do I use up as I go through the computation?
需要占用多少内存,我意思并不是,存储输入需要多少内存,而是当我完成这个?
应用推荐