We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some regular expressions that are currently on the /src/language directory are somewhat inefficient.
/src/language
Take this as an example:
flourite/src/languages/clojure.ts
Lines 4 to 7 in 32bc6b7
That pattern might be optimized to /^\s*\(ns(\s+)(.*)(\))?$/ to minimize the steps needed to achieve the same result.
/^\s*\(ns(\s+)(.*)(\))?$/
I believe there are more patterns like that, that can be optimized.
The text was updated successfully, but these errors were encountered:
Hi @aldy505 Would love to take the opportunity to work on this Thank you
Sorry, something went wrong.
@vijaykrishna536 yes go ahead
No branches or pull requests
Some regular expressions that are currently on the
/src/language
directory are somewhat inefficient.Take this as an example:
flourite/src/languages/clojure.ts
Lines 4 to 7 in 32bc6b7
That pattern might be optimized to
/^\s*\(ns(\s+)(.*)(\))?$/
to minimize the steps needed to achieve the same result.I believe there are more patterns like that, that can be optimized.
The text was updated successfully, but these errors were encountered: