-
Notifications
You must be signed in to change notification settings - Fork 427
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
feat: change DataView Grouping compileAccumulatorLoop
for CSP safe
#952
Conversation
Apart from some small Linting issues, the PR looks quite simple. Have you check logged perf? Just asking again in case there's no difference in perf, if so only 1 approach is enough. Remember that we kept the other separate because there was a slight perf decrease |
The diff seems marginal, do you think we should keep both? I would probably vote for merging them and keeping only the new one, what do you think? Actually, taking another look at the new code, I remember seeing in the past that the Side note on an outside topic , I found why the
EDIT I went ahead with PR #953, since we didn't touch the same lines, I don't expect any conflicts. However I still wish that you refactor the |
@JesperJakobsenCIM so have you had a chance to compare if changing to a regular for loop makes a difference in performance? Do you think we should keep both function or merged into a single function? I'm waiting for your feedback before merging the PR. Thanks |
the 50.000 example is with a for loop, and it seems to get faster since 5.000 rows (without for loop) has the same speed as 50.000 rows with for loop |
So does that mean that both functions are nearly the same speed? If so, can we keep only 1 function (the newest and CSP safe). |
that is really awesome to see, faster is great 🚀 So could you refactor the code and keep only the CSP function then? I could merge it after and publish a new release, just waiting for this PR :) |
I've removed the old method and kept new method with its name for clarity. |
compileAccumulatorLoop
for CSP safe
This is now available in the latest release v5.7.0, thanks again for your contributions. I think this was the last piece to be fully CSP Safe, thanks a lot for all your help and guidance on the subject 🎉 Happy Holidays 🎁 |
No description provided.