使用像本例这样非常小的示例,如果没有重复的单词,则索引的大小会十分接近示例的大小。
With a very small example such as this one, the index can be close to as big as the example as if there were no duplicated words.
如果喜欢使用spawn把Producer放在main之外的另一个线程中(这非常接近最初的代码),那么代码可能像清单8这样。
Or, if you prefer the version that USES spawn to kick off the Producer into a separate thread from main (which is most closely mirroring the original), it might look like Listing 8.
它们看起来非常像,但它们之间的体积、组成成份等都可能比我们的太阳系中的巨人,如木星、土星、天王星以及海王星更加接近地球。
That may seem like a lot, but they are quite a bit closer in size and likely composition to Earth than our solar system's giants: Jupiter, Saturn, Uranus and Neptune.
应用推荐