xbrlus / xule

An open-source XBRL processor for business rules, rendering and custom data reporting. See https://xbrl.us/xule for documentation and https://xbrl.us/xule-editor for a VS Code syntax highlighter.
Apache License 2.0
24 stars 9 forks source link

Limit cache size. #29

Closed stevenbronson-wk closed 4 months ago

stevenbronson-wk commented 5 months ago

And add __contains__ to XuleValueSet. This saved about 32 GB of memory and a few minutes running the FERC viewer on a large document.

davidtauriello commented 4 months ago

Hi @stevenbronson-wk - thanks for proposing this update. Your changes were addressed in the latest version of XULE (23750).

Let me know if you have questions or if the update does not reduce memory usage.