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
Making type conversions explicit #1540
Making type conversions explicit #1540
Conversation
Things were explicitly done this way for static analysis. The engine was slightly slower with These changes would require benchmark runs to land. |
@benjamingr, thanks for looking into this! doxbee is now marginally faster with explicit type conversions, and there's no difference for the made-up parallel benchmark. benchmarking
|
hey @benjamingr, can you have a quick look at my message above? |
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
Use explicit conversions between types (Number, String).
118fb16
to
d794fd0
Compare
Use explicit conversions between types (Number, String).
e206246
to
85288b2
Compare
ECMAScript 7 introduced the includes function for arrays so that bitwise and comparisons to -1 are no longer needed
ECMAScript 7 introduced the includes function for arrays so that bitwise and comparisons to -1 are no longer needed
ECMAScript 7 introduced the includes function for arrays so that bitwise and comparisons to -1 are no longer needed
ECMAScript 7 introduced the includes function for arrays so that bitwise and comparisons to -1 are no longer needed
Hey @benjamingr and @petkaantonov, let me know if this is still of interest. I updated to the latest master and the tests are still passing. Btw, the documentation is not in sync with the latest code: #1586 |
This reverts commit 652dff3.
Tests are still passing. Let me know if I can adjust anything.
The commits are fine-grained because they are generated automatically. Feel free to squash them on merge.