mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibRegex: Reduce RegexMatcher's BumpAllocator chunk size
Before the BumpAllocator OOB access issue was understood and fixed, the chunk size was increased to 8MiB as a workaround in commit:27d555bab0
. The issue is now resolved by:0f1425c895
. We can reduce the chunk size to 2MiB, which has the added benefit of reducing runtime of the RegExp.prototype.exec test.
This commit is contained in:
parent
1a173be29d
commit
fea181bde3
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ private:
|
|||
Node* previous { nullptr };
|
||||
};
|
||||
|
||||
UniformBumpAllocator<Node, true, 8 * MiB> m_allocator;
|
||||
UniformBumpAllocator<Node, true, 2 * MiB> m_allocator;
|
||||
Node* m_first { nullptr };
|
||||
Node* m_last { nullptr };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue