cheminfo-py / xtbservice

MIT License
4 stars 2 forks source link

slow cache #16

Closed kjappelbaum closed 3 years ago

kjappelbaum commented 3 years ago

seems to be culimination of two issues:

kjappelbaum commented 3 years ago

so, the slow part is the unpickling. I'm not sure how we can make it faster. We could try to save a dict instead of a class or we could switch to a memcache

lpatiny commented 3 years ago

How long does it actually take to load from the cache ?

Because in the script snapshot it was 1ms no ? Can you detail the time it takes more or less for all the steps ?

kjappelbaum commented 3 years ago

i think this is fixed now