新的文本限制,以字节计算。
本文中将使用字节计算字符串长度的方法称作字节语义,而使用字符数计算字符串长度的方法称作字符语义。
The counting of string length using a byte is referred to as byte semantics in this article, and the counting of string length using the number of characters is referred to as character semantics.
今天,一台250gb硬盘机的价格以每千兆字节计算,比新的磁带库使用的数字线性盒式磁带更便宜。
A 250gb hard drive today costs less per gigabyte than the digital linear tape cartridges for a relatively recent tape library.
In fact to write a run those same experience-- those same experiments now with the even greater volume of data computers are now producing I'd probably have terabytes worth of data and at that point things just would have broken.
事实上-,目前使用大量数据的相同实验中,计算机会产生,兆兆字节的数据,那时,一切都有可能遭到破坏。
Here I actually need to tell the computer, "Give me some bytes in ram in which to store a value, and that value's going to be a floating point value."
这里我的确需要告诉计算机,“给我一些字节内存,来存储一个值,那个值将是,浮点型的数值“
D-A-V-I-D Well, if I've got a five-letter word like D-A-V-I-D, well, that's like five bytes and yet we only have the ability thus far in this class to return one thing at a time I can't return five bytes to you, but wait a minute, those bytes by nature of a computer are just stored in RAM.
好的,如果有5个字母的单词,如,那是5个字节,我们只能返回一个东西,而不能返回5个字节,等一下,这些字节被计算机本能地,存储在内存中。
应用推荐