aboutsummaryrefslogtreecommitdiff
path: root/scripts/sample_correlations.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-06-01 22:18:31 +0300
committerBonfaceKilz2024-06-01 23:57:00 +0300
commitf35dd4a230f0dc316e5b097d8cfbf350d8d440e5 (patch)
treee53feb8f4be8c80f67e14a9ec905211feb099b20 /scripts/sample_correlations.py
parent69cb03484eea2c7011ac4c838a448b02307a4b55 (diff)
downloadgenenetwork3-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 'scripts/sample_correlations.py')
0 files changed, 0 insertions, 0 deletions