Skip to content

faster amalgamation script#2597

Merged
lemire merged 1 commit intomasterfrom
faster_amalgamation
Jan 27, 2026
Merged

faster amalgamation script#2597
lemire merged 1 commit intomasterfrom
faster_amalgamation

Conversation

@lemire
Copy link
Member

@lemire lemire commented Jan 25, 2026

Before:

> time python3 amalgamate.py
python3 amalgamate.py  0,53s user 0,06s system 97% cpu 0,605 total

After:0

> time python3 amalgamate.py
python3 amalgamate.py  0,30s user 0,06s system 83% cpu 0,433 total

A 40% reduction.

Use precomputed regular expressions.

@lemire lemire merged commit cda9806 into master Jan 27, 2026
158 checks passed
@lemire lemire deleted the faster_amalgamation branch January 27, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant