Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the implementation for collapsing of whitespaces #27

Open
EvitanRelta opened this issue Dec 21, 2022 · 0 comments
Open

Improve the implementation for collapsing of whitespaces #27

EvitanRelta opened this issue Dec 21, 2022 · 0 comments
Labels
help wanted Extra attention is needed improve Improvements on existing feature

Comments

@EvitanRelta
Copy link
Owner

EvitanRelta commented Dec 21, 2022

Current implementation for collapsing whitespaces is found in the collapseWhitespace pre-process.

The previous implementation was actually a text-process,
but was later was very roughly adapted into a bootleg pre-process:


(from collapseWhitespace.ts)


If anyone has any idea how to overhaul it to make it cleaner or faster, pls send help :(

@EvitanRelta EvitanRelta added help wanted Extra attention is needed improve Improvements on existing feature labels Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed improve Improvements on existing feature
Projects
None yet
Development

No branches or pull requests

1 participant