In JRuby 1.5 and earlier, all Ruby calls populated a thread-local data structure on every call.
在JRuby 1.5和更早的版本中,所有的Ruby调用都会在调用时占据一个thread - local数据结构。
After the transfer, you use the data in that structure to copy the string itself into your buffer in the local store using another DMA transfer, and wait for it to complete.
传输之后,使用那个结构中的数据来将字符串自身复制到本地存储的缓存区内,方法是借助另一个dma传输并等待它完成。
Of course, this seed is itself essentially a data structure that you can modify in each NEW-LEVEL-SEED and FINISH-ELEMENT handler — but at least it's local rather than global.
当然,这个seed自身本质上是一个数据结构,您可以在每个NEW - LEVEL - seed和FINISH - ELEMENT处理器中操作它们——但至少操作是本地的而非全局的。
应用推荐