Class CompilationBuffer
java.lang.Object
com.oracle.truffle.regex.tregex.buffer.CompilationBuffer
This class is instantiated once per compilation of a regular expression in
TRegexCompiler.compile(RegexLanguage, RegexSource) )} and is supposed to reduce the
amount of allocations during automaton generation. It provides various "scratch-pad" buffers for
the creation of arrays of unknown size. When using these buffers, take extra care not to use them
in two places simultaneously! TRegexCompiler.compile(RegexLanguage, RegexSource) is
designed to be run single-threaded, but nested functions may still lead to "simultaneous" use of
these buffers.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.graalvm.collections.EconomicMap<DFACaptureGroupPartialTransition, DFACaptureGroupPartialTransition> org.graalvm.collections.EconomicMap<CodePointSet, CharMatcher> <T> ObjectArrayBuffer<T> <T> ObjectArrayBuffer<T> <T> ObjectArrayBuffer<T>
-
Constructor Details
-
CompilationBuffer
-
-
Method Details
-
getEncoding
-
getObjectBuffer1
-
getObjectBuffer2
-
getObjectBuffer3
-
getByteArrayBuffer
-
getShortArrayBuffer1
-
getShortArrayBuffer2
-
getIntRangesBuffer1
-
getIntRangesBuffer2
-
getIntRangesBuffer3
-
getCodePointSetAccumulator1
-
getCodePointSetAccumulator2
-
getByteSizeBitSet
-
getMatcherDeduplicationMap
-
getLazyTransitionDeduplicationMap
public org.graalvm.collections.EconomicMap<DFACaptureGroupPartialTransition,DFACaptureGroupPartialTransition> getLazyTransitionDeduplicationMap()
-