We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee95225 commit b2a2e75Copy full SHA for b2a2e75
Sources/SwiftParser/Lexer/LexemeSequence.swift
@@ -29,7 +29,7 @@ extension Lexer {
29
///
30
/// The memory footpring of not freeing past lexer states is neglible. It's
31
/// usually less than 0.1% of the memory allocated by the syntax arena.
32
- var lexerStateAllocator = BumpPtrAllocator(slabSize: 512)
+ var lexerStateAllocator = BumpPtrAllocator(slabSize: 256)
33
34
fileprivate init(sourceBufferStart: Lexer.Cursor, cursor: Lexer.Cursor) {
35
self.sourceBufferStart = sourceBufferStart
0 commit comments