You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow datrie with recent Python / Drop datrie? #442
Ergh, yeah, okay, should just take a look at the perf impact of just dropping support.
In a bunch of more ordinary cases the perf impact seems to be approximately nothing. I suggest we just drop support for datrie? I doubt even in the worst case it's going to be significant?
If keeping it only offers minimal or zero performance benefit, sounds like a good idea to drop, it'll reduce the maintenance burden, as it seems this will happen for every new (now annual) Python release. And we're 4 months since 3.8 came out, and Datrie support is still pending.
On the two tests I have that are pretty heavy on entities, we get:
Mean +- std dev: [datrie_without] 293 ms +- 6 ms -> [datrie_with] 291 ms +- 6 ms: 1.01x faster (-1%)
Mean +- std dev: [datrie_without] 104 ms +- 1 ms -> [datrie_with] 104 ms +- 1 ms: 1.01x faster (-1%)
On the whole, despite both tests showing statistically significant perf gains, I think they're small enough they're not worth it?
It's probably worthwhile noting the pure-Python entity lookup with was much slower when datrie was added as an optional dependency, and as such the perf gain from it was much larger.
Activity
hugovk commentedon Feb 26, 2020
Please see PR #446 to require datrie 0.8+ to support Python 3.7.
But datrie doesn't yet support Python 3.8: pytries/datrie#73.
gsnedders commentedon Feb 26, 2020
Ergh, yeah, okay, should just take a look at the perf impact of just dropping support.
gsnedders commentedon Feb 29, 2020
In a bunch of more ordinary cases the perf impact seems to be approximately nothing. I suggest we just drop support for datrie? I doubt even in the worst case it's going to be significant?
hugovk commentedon Feb 29, 2020
If keeping it only offers minimal or zero performance benefit, sounds like a good idea to drop, it'll reduce the maintenance burden, as it seems this will happen for every new (now annual) Python release. And we're 4 months since 3.8 came out, and Datrie support is still pending.
tacaswell commentedon Mar 26, 2020
datries 0.8.2 should support py37 and py38.
gsnedders commentedon May 19, 2020
On the two tests I have that are pretty heavy on entities, we get:
Mean +- std dev: [datrie_without] 293 ms +- 6 ms -> [datrie_with] 291 ms +- 6 ms: 1.01x faster (-1%)
Mean +- std dev: [datrie_without] 104 ms +- 1 ms -> [datrie_with] 104 ms +- 1 ms: 1.01x faster (-1%)
On the whole, despite both tests showing statistically significant perf gains, I think they're small enough they're not worth it?
It's probably worthwhile noting the pure-Python entity lookup with was much slower when datrie was added as an optional dependency, and as such the perf gain from it was much larger.
gsnedders commentedon Jun 10, 2020
#455 dropped datrie.