We're kind of restricting ourselves to only certain chunks of memory, at least for now, but it certainly creating problems.
我们现在我们自己只能在某一块内存中,至少是现在,当然这样也会产生问题。
Here's the problem with that technique, and by the way, a number of programming languages use this, including Lisp.
这会指向元素的值,然后对内存进行切分,关于这种技术有个问题,顺路说下。
Let's assume that the user typed in a pretty short word we didn't run out of memory or anything crazy so here's the new feature.
假设用户输入,很短的单词,没有出现超出内存之类的问题,这里是新的特点。
When we talk about space, what we usually refer to is, how much computer memory does it take to complete a computation of a particular size?
我们经常指的是,当我们计算,一个特定大小的问题的时候,要占用计算机的多少内存?
So here is one of the interesting takeaways, a char, we've already spoiled this answer, takes up how many bits.
关于char还有一个重点:一个char占据多大内存,这个问题我们已经翻来覆去说了好多遍了。
应用推荐