diff options
author | Munyoki Kilyungi | 2024-06-01 22:18:31 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-06-01 23:57:00 +0300 |
commit | f35dd4a230f0dc316e5b097d8cfbf350d8d440e5 (patch) | |
tree | e53feb8f4be8c80f67e14a9ec905211feb099b20 /gn3/monads.py | |
parent | 69cb03484eea2c7011ac4c838a448b02307a4b55 (diff) | |
download | genenetwork3-f35dd4a230f0dc316e5b097d8cfbf350d8d440e5.tar.gz |
Use global cache to store generif metadata.
This global caches has 3,528 entries and there's no expectation for it
to grow significantly. Since child processes inherit the parent’s
memory, we can pass the global cache to them, reducing fetch times
from 0.001s to 0.00001s, significantly boosting performance when
indexing the entire database and enriching results with RDF metadata.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/monads.py')
0 files changed, 0 insertions, 0 deletions