Conversation
Codecov Report
@@ Coverage Diff @@
## next #719 +/- ##
==========================================
- Coverage 86.42% 86.32% -0.10%
==========================================
Files 51 51
Lines 4714 4687 -27
Branches 1032 1022 -10
==========================================
- Hits 4074 4046 -28
- Misses 455 456 +1
Partials 185 185
Continue to review full report at Codecov.
|
|
@bdice thanks for tackling this! Could you also rerun some of the benchmarks that we looked at in conjunction with #484 to see how much they improve with this applied? IIRC the switch to synced collections increased the cost of converting keys to strings, and that increase was exacerbated because I implemented it as a separate validator (with the expectation that it would be removed), so we should see a marked improvement now. |
|
@vyasr I looked at the benchmarks but there is no apparent change. I believe that this is because we created a single validator |
|
@bdice you're right, I forgot that when I implemented that new validator I bypassed the perf issue entirely. I think I initially recognized that the sequence of validators would be slower but wrote it off as a temporary issue until 2.0, but then when you did your much more thorough benchmarking of #484 and we saw how bad it was I just implemented the custom validator to recover performance. So I think we're good here. |
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
* Remove non-string key support. * Update changelog. Co-authored-by: Vyas Ramasubramani <[email protected]>
Description
This PR closes a handful of TODO items related to automatically converting non-string keys to strings for synced collections.
Motivation and Context
See #316 for the original motivation to remove non-string keys. Resolves #726.
Checklist: