现在,清单3显示如何把这个数据读入Python程序,并解析文件的内容。
Now, Listing 3 shows how to read this data into a Python program and parse the contents of the file.
这个过程的一点负面影响是新cpu的缓存对于迁移过来的任务来说是冷的(需要将数据读入缓存中)。
A negative aspect of this process is that the new CPU's cache is cold for a migrated task (needing to pull its data into the cache).
从根本上讲,在程序将数据读入或复制到缓冲区中的任何时候,它需要在复制之前检查是否有足够的空间。
Fundamentally, any time your program reads or copies data into a buffer, it needs to check that there's enough space before making the copy.
应用推荐