html5ever icon indicating copy to clipboard operation
html5ever copied to clipboard

Revisit tokenizer microoptimizations

Open kmcallister opened this issue 10 years ago • 1 comments

For example, there's an old branch to use SSE 4.2 string instructions in tokenization, which realized a speedup of about 10% and could probably be pushed much further.

kmcallister avatar Jul 31 '14 21:07 kmcallister

https://crates.io/crates/llvmint has the necessary intrinsics. That might be a nicer route than inline assembly, even though it's still not portable.

kmcallister avatar Mar 31 '15 04:03 kmcallister