StringInterner

io.shiftleft.utils.StringInterner
See theStringInterner companion object

Interface for deduplicating strings used by CPGLoader. JVM with G1 GC does this automatically but it is not guaranteed to happen and when performing CPU heavy calculations doing this manually ensures that we won't run out of memory.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def intern(s: String): String