-
Notifications
You must be signed in to change notification settings - Fork 749
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
jsonpatch is really slow and we shouldn't need to merge if there is no default. #4071
base: master
Are you sure you want to change the base?
Conversation
Yes, it is. We've experimented and had success with It's our intention to replace No argument against skipping steps which don't apply to everyone. in this case though, how can the default account json ever be nil? |
Can we update jsonpatch to https://github.com/evanphx/json-patch/tree/master/v5? V4 uses golang json which is very slow and does a lot of memory allocations |
Code coverage summaryNote:
relevantdigitalRefer here for heat map coverage report
|
Code coverage summaryNote:
relevantdigitalRefer here for heat map coverage report
|
FWIW, I tried the upgrade to v5 first, and I see that it also uses golang json. I'm curious about the solution in jsonutil - and whether it's been compared/benchmarked against libraries like mergo, gojsonmerge and conjungo if not others… I also don't see much in the way of speed improvements mentioned in the 4 ⇒ 5 transition (I think going to 5 was just to sort out the fact that the /v5 dir wasn't actually where it needed to be or something.
|
No description provided.