-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
add optimizer #633
base: master
Are you sure you want to change the base?
add optimizer #633
Conversation
how much perf would this get us? |
I am still investigating |
lib/optimize.js
Outdated
@@ -0,0 +1,87 @@ | |||
'use strict' | |||
|
|||
const serializerReturnRE = /^return ([a-zA-Z0-9]+)\(\w+\)$/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you write this code?
Do you follow some automation?
Only AI will be able to read it tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manually. Writing my unit test, then adapt to what I prefer.
401efc3
to
592b3e7
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
PR:
MASTER:
|
@Uzlopak this PR looks very interesting, why not keep working on it? |
Checklist
npm run test
andnpm run benchmark
and the Code of conduct