Skip to content

Commit b2a2e75

Browse files
committed
Revert bump pointer allocator slab size change
1 parent ee95225 commit b2a2e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftParser/Lexer/LexemeSequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension Lexer {
2929
///
3030
/// The memory footpring of not freeing past lexer states is neglible. It's
3131
/// usually less than 0.1% of the memory allocated by the syntax arena.
32-
var lexerStateAllocator = BumpPtrAllocator(slabSize: 512)
32+
var lexerStateAllocator = BumpPtrAllocator(slabSize: 256)
3333

3434
fileprivate init(sourceBufferStart: Lexer.Cursor, cursor: Lexer.Cursor) {
3535
self.sourceBufferStart = sourceBufferStart

0 commit comments

Comments
 (0)