The things we've had in cameras for several years by putting gigabytes, soon hopefully terabytes of storage on a device that has no moving parts.
几年来我们可以在相机的存储设备,里存入千兆字节,甚至不久以后可以存入兆兆字节,设备里没有移动部件。
Well, RAM you might have a gigabyte RAM of RAM these days or two gigabytes.
你们应该都有一个十亿字节,或二十亿字节的。
I may not want to do the full range of this, but I may decide I have to use a lot of gigabytes of space in order to do a trade off.
哈希成一个整数,我不想完整的去做这件事,但是我可以想像我需要用许多G的空间,去完成空间和时间之间的权衡。
And so very often I would find myself with gigabytes worth of data, at night I needed to analyze this data and look for this patterns and frankly the reality was sometimes I could spend 10-15 minutes whipping up a little script, a little program that unfortunately would take eight hours or more to run.
我经常会发现十亿字节的数据,晚上我就需要分析这些数据并,找出模型,坦白说,有时,我会花10-15分钟来编写一个小脚本,一个小程序,但不幸的是,运行它可能需要8个小时或更多时间。
I don't exactly know where they are in RAM, but I know if I've got 2 gigabytes of RAM, zero is here, byte 1 is here, byte 2 is here, dot, dot, dot so maybe byte 123 is over here and 456 is here.
我不知道他们在内存中哪个地方,但是我知道如果我有2G内存,零在这里,字节1在这里,字节2在这里,等等等,所以可能123字节在这里,456字节在这里。
RAM I mean you might have two gigabytes of RAM.
你可能有两G的。
Now that's changing the more years that pass the more of you have 64-bit computers and the more servers have many, many gigabytes of RAM and so you need actually 64-bits, but for now let's assume a common system whereby a pointer just by definition of the homework is 32 bits.
现在计算机也在改变,也有更多的人,使用64位的计算机,更多的服务器有很多,很多G的内存,那样你就需要64位的,现在我们假设通常的系统中,根据家庭作业所定义的,一个指针为32位。
应用推荐