Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Conversation

@azjezz
Copy link
Collaborator

@azjezz azjezz commented Dec 7, 2022

Not much of a performance gain, but it makes lexer state easier to work with.

benchmarks:

before:

 Time (mean ± σ): 2.519 s ± 0.017 s [User: 2.611 s, System: 0.225 s] Range (min … max): 2.501 s … 2.551 s 10 runs 

after:

 Time (mean ± σ): 2.451 s ± 0.007 s [User: 2.561 s, System: 0.190 s] Range (min … max): 2.443 s … 2.462 s 10 runs 
@azjezz azjezz force-pushed the source branch 2 times, most recently from 749b057 to 9a63549 Compare December 7, 2022 13:35
Signed-off-by: azjezz <azjezz@protonmail.com>
@azjezz azjezz merged commit 52b60e1 into main Dec 7, 2022
@azjezz azjezz deleted the source branch December 7, 2022 15:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants