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

Reduce heap allocations and use modern cpp #16

Closed
wants to merge 4 commits into from
Closed

Conversation

ronag
Copy link
Contributor

@ronag ronag commented Apr 2, 2022

No description provided.

@ronag ronag force-pushed the bindings branch 4 times, most recently from 51ab608 to e54d344 Compare April 2, 2022 23:04
@vweevers
Copy link
Member

vweevers commented Apr 2, 2022

It'd be good to separate pure cosmetic changes (that can potentially be merged quickly) from ones that benefit performance, because the latter require benchmarks.

@ronag
Copy link
Contributor Author

ronag commented Apr 2, 2022

Do you have any benchmarking script?

@vweevers
Copy link
Member

vweevers commented Apr 2, 2022

Yes, but it comes with instructions - that I'll write later

@ronag
Copy link
Contributor Author

ronag commented Apr 3, 2022

TBH I don't really see anything here that in theory could cause perf regression.

@ralphtheninja
Copy link
Member

I think it looks good but there are a lot of changes for a single commit.

@@ -8,7 +8,7 @@ jobs:
matrix:
# At the time of writing macos-latest is mac 10; we need 11 to build a universal binary.
os: [ubuntu-latest, macos-11, windows-latest]
node: [12, 14, 16]
node: [14, 16]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason doesn't build on v12? Old cpp version?

@ronag
Copy link
Contributor Author

ronag commented Apr 9, 2022

If you want more step by step then #20 and #24 is some steps towards this.

@ronag
Copy link
Contributor Author

ronag commented Apr 9, 2022

I'l lsplit this up

@ronag ronag closed this Apr 9, 2022
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

Successfully merging this pull request may close these issues.

3 participants