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
25 stars 10 forks source link

Limit cache size. #29

Closed stevenbronson-wk closed 6 months ago

stevenbronson-wk commented 7 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 6 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.