优化ruby版的分词,从44s每一千文本文件到了20多秒每一千文本文件后,再也优化不下去了。烦闷之极,发现这个现象: [st@localhost segment]$ ruby segment.rb time:24.292177 [st@localhost segment]$ ruby segment.rb time:18.223328 [st@localhost segment]$ ruby segment.rb time:17.331675 [st@localhost segment]$ ruby segment.rb time:17.316683 [st@localhost segment]$ ruby segment.rb time:17.275409 太神了,我连打几次命令,它自已运行就越来越快了?