Skip to content

Conversation

@kivikakk
Copy link
Owner

@kivikakk kivikakk commented Nov 2, 2025

This eliminates the need for a lot of input bookkeeping, plus it's much nicer — an end-user could differentiate between a NUL or U+FFFD if they wanted to.

Base automatically changed from push-pmyomryuyqnw to main November 2, 2025 10:42
@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2025

Command Mean [ms] Min [ms] Max [ms] Relative
./bench.sh ./comrak-7ba730d 105.3 ± 0.7 104.2 107.4 1.80 ± 0.03
./bench.sh ./comrak-main 105.8 ± 1.0 103.1 107.8 1.81 ± 0.03
./bench.sh ./pulldown-cmark 58.5 ± 0.8 57.4 60.9 1.00
./bench.sh ./cmark-gfm 90.3 ± 6.6 82.8 103.3 1.54 ± 0.11
./bench.sh ./markdown-it 258.3 ± 2.8 252.6 262.3 4.42 ± 0.07

Run on Sun Nov 2 10:45:18 UTC 2025

Comment on lines -233 to -235
// XXX As an extra special case, NUL bytes are expanded to U+FFFD
// REPLACEMENT CHARACTER (UTF-8: EF BF BD) during the feed stage, so
// sourcepos sees three bytes (!). I might like to change this later.
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay.

@kivikakk kivikakk merged commit 3af1ead into main Nov 3, 2025
44 checks passed
@kivikakk kivikakk deleted the push-wwkskvnvmwun branch November 3, 2025 03:52
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.

2 participants