当你调用一个函数,实际上发生的是函数得到了自己的内存块,它的大小与它期望的数据类型相同。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
这就是用户空间内存访问函数的目的。
This is the purpose behind the user space memory access functions.
函数默认从最高内存使用率到最低内存使用率,以便您可以集中到消耗最大内存的函数上。
By default, the functions are sorted from highest to lowest memory usage so that you can concentrate on the functions consuming the most memory.
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
当你调用一个函数,实际上发生的是,函数得到了自己的内存块,相同的类型,是占有一样大小的内存的。
And one of the ways you can make a program crash, intentionally or not, is to essentially use up too much memory or call too many functions and what happens is, bam, one hits the other and bad things happen.
其中一个方式能使你的程序崩溃掉,有意或无意的,它本质上使用了太多的内存,或者调用了太多的函数,所发生的,崩掉,一个冲突了另一个,然后发生了坏事情。
Well, because the memory we've been using for local variables, and for functions, storage space is what computer scientists generally call the stack.
好的,因为我们看到的内存是用于局部变量的,用于函数的,存储空间就是计算机科学家,通常说的堆。
应用推荐