Skip to content

Conversation

@pbrubeck
Copy link

@pbrubeck pbrubeck commented Aug 20, 2025

Tabulate unknown points directly to gem, as opposed to first tabulating to sympy.

The gem-only approach is significantly faster:

pytest test/FIAT/unit/test_macro.py -k sympy
=============================== 6 passed, 233 deselected in 14.77s ===============================

pytest test/FIAT/unit/test_macro.py -k gem
=============================== 6 passed, 233 deselected in 1.31s ================================

@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from 1bc0aef to 2f7fb1c Compare August 20, 2025 22:07
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from f95d2a4 to 2c54e72 Compare August 21, 2025 09:25
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from 8e60163 to 26113d8 Compare August 21, 2025 12:33
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from cce6efc to fdefbbd Compare August 21, 2025 15:32
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from ec7e65c to 6868df5 Compare August 22, 2025 14:38
Copy link

@rckirby rckirby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the speedup and reduced dependency on sympy. I have a few questions

@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from 41a0a71 to 0799365 Compare August 27, 2025 16:44
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from 0799365 to 3225043 Compare August 27, 2025 22:00
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from e3a2eef to 4d00815 Compare August 28, 2025 15:09
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from fd3053f to 1927f47 Compare August 28, 2025 20:58
@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from 1927f47 to 1044442 Compare August 28, 2025 20:59
@rckirby rckirby self-requested a review August 28, 2025 21:05
Copy link

@rckirby rckirby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think my concerns are addressed now.

@pbrubeck pbrubeck force-pushed the pbrubeck/gem-tabulation branch from e4b1ce9 to 2b5eb2a Compare October 23, 2025 12:58
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.

3 participants