-
Notifications
You must be signed in to change notification settings - Fork 98
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
perf(primordials): Check the need for SafeArrayIterator
each time
#80
base: main
Are you sure you want to change the base?
Conversation
@petamoriken is there a test we could add here? |
@bartlomieju I have no idea what tests to add for primordials. |
Does this PR introduce a change in behavior? |
If I believe this will improve performance, but don't know how to check performance. |
You could create a benchmark that uses one object with these props and one without an then see the difference between execution times for say 100_000 items in the iterator. You can see exmaple benchmarks in |
5d4cc97
to
c6a5c1d
Compare
@petamoriken Would you still like to land this? |
@mmastrac I am still inclined to work on it myself, but I don't mind having someone else do the work. |
c6a5c1d
to
5607bde
Compare
Closes #6