StringInterner

io.shiftleft.utils.StringInterner$
See theStringInterner companion trait

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def makeStrongInterner(maxStringLength: Int, initialSize: Int): StringInterner

Creates a string interner that will hold strong references to the interned objects and they wont be GC'ed until reference to the interner is released.

Creates a string interner that will hold strong references to the interned objects and they wont be GC'ed until reference to the interner is released.

Attributes

initialSize

Initial string table size

maxStringLength

Maximum string length that will be considered for interning

Returns:

Instance of the StringInterner which uses strong references

Concrete fields