| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/tmjee/JavaPerformanceTuning/master/StringIntern/README | [Back] [Original] |
To build:
This example uses a public domain version of the ConcurrentHashMap
that provides for weak (and other types of) references. That source
is included; see src/extra166y/CustomConcurrentHashMap.java for
license details.
To run:
java -jar jars/stringintern.jar self|jdk
jdk -- use the standard string intern call in the jdk (tested with
various StringTableSize arguments)
self -- use a custom cannonical string representation
| Web Proxy Viewer | New URL | Original Page |