Guava Charmatcher static initialization slow

后端 未结 4 558
一个人的身影
一个人的身影 2021-02-08 19:32

UPDATE: It looks like my 13.0.1 is calling code from this diffed CharMatcher.

http://code.google.com/p/guava-libraries/source/diff?spec=svn69ad96b719d7cd3d872a948d7454f1

4条回答
  •  [愿得一人]
    2021-02-08 19:55

    I just ran the exact benchmark you provided, and got

    took 74 ms

    2nd took 0 ms

    ...Perhaps the problem is on Eclipse's end? Are you running in debug mode?

提交回复
热议问题