searxng/searx/data
Markus Heiser 82fd0dac60 [mod] lower memory footprint by lazy loading JSON data
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>
2024-04-29 19:02:00 +02:00
..
__init__.py [mod] lower memory footprint by lazy loading JSON data 2024-04-29 19:02:00 +02:00
ahmia_blacklist.txt [data] update searx.data - update_ahmia_blacklist.py 2024-04-29 10:01:52 +02:00
currencies.json [data] update searx.data - update_currencies.py 2024-04-29 09:48:56 +02:00
engine_descriptions.json [data] update searx.data - update_engine_descriptions.py 2024-04-29 09:46:26 +02:00
engine_traits.json [data] update searx.data - update_engine_traits.py 2024-04-29 10:02:48 +02:00
external_bangs.json [data] update searx.data - update_external_bangs.py 2024-03-10 12:01:00 +01:00
external_urls.json [mod] add external_urls.json and wikidata_units.json 2020-10-28 08:09:25 +01:00
lid.176.ftz [mod] new plugin: Autodetect search language 2022-12-10 13:11:47 +01:00
locales.json [fix] sort RTL_LOCALES before written into locales.json 2024-02-20 12:29:13 +01:00
osm_keys_tags.json [data] make data.all 2024-03-10 15:56:50 +01:00
useragents.json [data] update searx.data - update_firefox_version.py 2024-04-29 10:02:16 +02:00
wikidata_units.json [data] wikidata: update wikidata_units.json 2024-04-27 18:11:33 +02:00