Felix Boehm
Felix Boehm
The trie takes a few seconds to compute, so very likely, yes. We could skip some expensive optimizations, but not sure what the upside would be. Closest alternative is probably...
Very interesting — thanks for sharing! My design goal with entities is very much "make the parser use-case as fast as possible, then support other cases" — the trie is...
@KTibow Thanks for the push — I went through and optimised the encoding of the en- and decode tries (in https://github.com/fb55/entities/pull/1944 and https://github.com/fb55/entities/pull/1948, by 32% and 44% respectively). Also found...
Will need a major version bump as Cheerio will also have to become ESM-only; I want to start with the dependent packages, then work my way up in making things...