tgbugs / hyputils

python utilities for hypothes.is
MIT License
10 stars 0 forks source link

per group memoization #1

Open tgbugs opened 6 years ago

tgbugs commented 6 years ago

There are many nasty issues that come from having annotations from more than one group in the same file. Either figure out how to support multiple groups in the same pickle, or have per group memfiles.

tgbugs commented 6 years ago

Hash the group id and stick it in the filename.

tgbugs commented 6 years ago

Temporary implementation in https://github.com/SciCrunch/scibot/blob/master/core.py#L18.