Guava Charmatcher static initialization slow

后端 未结 4 560
一个人的身影
一个人的身影 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:59

    As a quick help, try to switch to the newest version from the source repo. There are changes there, e.g. the method slowGetChars is gone. It used to be a bit slow, but nowhere near what's happening to you.

    For everybody else it runs some hundred times faster and without being able to reproduce it it's hard to help.

提交回复
热议问题