mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
This patch implements lazy loading of the JSON data. Motivation: in most requests not all JSON data is needed, but loaded. By example these four JSON files: - currencies.json ~550KB - engine_descriptions.json ~1,3MB - external_bangs.json ~1,3MB - osm_keys_tags.json ~ 2,2MB most often not used and consume a lot of memory and BTW they also extend the time required to instantiate a walker. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ahmia_blacklist.txt | ||
| currencies.json | ||
| engine_descriptions.json | ||
| engine_traits.json | ||
| external_bangs.json | ||
| external_urls.json | ||
| lid.176.ftz | ||
| locales.json | ||
| osm_keys_tags.json | ||
| useragents.json | ||
| wikidata_units.json | ||