RFR: 8015522 - CharSequence.codePoints can be faster (original) (raw)
Henry Jen henry.jen at oracle.com
Mon Jun 3 20:33:01 UTC 2013
- Previous message: hg: jdk8/tl/jdk: 8015813: add test/tools/pack200/TimeStamp.java to ProblemsList
- Next message: RFR: 8015522 - CharSequence.codePoints can be faster
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Please review http://cr.openjdk.java.net/~henryjen/tl/8015522.0/webrev/
This webrev is based on previous suggestion from Martin Buchholz while keep the lazy-binding nature without seize the length at construction time.
The benchmark shows ~50% performance increase, mainly from reduce of operation, for example, inline block.accept instead of store the character to a local var also helps.
Cheers, Henry
- Previous message: hg: jdk8/tl/jdk: 8015813: add test/tools/pack200/TimeStamp.java to ProblemsList
- Next message: RFR: 8015522 - CharSequence.codePoints can be faster
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]