最后,任何Ruby实现如果想要有兼容性,就得首先保证兼容,然再优化性能,因为这比看上去要难得多。
Ultimately any Ruby implementation that truly wants to be compatible needs to be compatible *first* and work on performance later, because it's a lot harder than it looks.
它还可以再优化 -- 例如,现在获取和存储是以 1 比特为单位进行操作的,如果以 8 个比特作为一组来处理,效率将会得到提高。
There is room for optimization -- for instance, the retrieval and storage of bits is done one by one, and it would be much more efficient if done in groups of eight.
对数据库系统内长期运行的查询处理的查询优化提出了一种触发的动态查询再优化方法。
This paper proposes a triggered dynamic query re-optimization for very long-running queries in database systems.
Now, efficiency is obviously an important consideration when you're designing code, although I have to admit, at least for me, I usually want to at least start initially with code that works, and then worry about how I might go back and come up with more efficient implementation.
现在,当你设计程序的时候效率,是不得不考虑的问题,虽然我必须承认,至少对我来说,我是先担心程序能不能运行,再去把它的效率优化的,我喜欢可靠点的东西。
应用推荐