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

Optimize parsing performance #91

Closed
janryWang opened this issue May 13, 2022 · 1 comment
Closed

Optimize parsing performance #91

janryWang opened this issue May 13, 2022 · 1 comment

Comments

@janryWang
Copy link

Can we parse matrices with normal regular expressions? Now using PEG, the performance is relatively poor

@chrvadala
Copy link
Owner

For basic matrices you can use this method https://github.com/chrvadala/transformation-matrix/blob/main/docs/api.md#fromString, but if you're looking to advanced parsing features you need something like PEG.
Anyway, quite soon I will merge this PR #89 that uses a new PEG version that should be faster.

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

No branches or pull requests

2 participants