Skip to content

Reduce memory usage for QuadratureRule cache#812

Merged
skirpichev merged 3 commits into
mpmath:masterfrom
skirpichev:reduce-mem-foot-for-quad-811
Jun 25, 2024
Merged

Reduce memory usage for QuadratureRule cache#812
skirpichev merged 3 commits into
mpmath:masterfrom
skirpichev:reduce-mem-foot-for-quad-811

Conversation

@skirpichev

Copy link
Copy Markdown
Collaborator

The interval_count seems to be redundant, transformed_cache has entries from the standard_cache... So, I believe a single dict is enough.

See #811. This partially address mentioned issue.

The interval_count seems to be redundant, transformed_cache has entries
from the standard_cache...  So, I believe a single dict is enough.

See mpmath#811.  This partially address mentioned issue.
@skirpichev skirpichev force-pushed the reduce-mem-foot-for-quad-811 branch from c9de4b7 to 67aa612 Compare June 22, 2024 12:54
@skirpichev skirpichev merged commit 8a4ce81 into mpmath:master Jun 25, 2024
@skirpichev skirpichev deleted the reduce-mem-foot-for-quad-811 branch June 25, 2024 04:28
@skirpichev skirpichev added this to the 1.4 milestone May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant