Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pymbolic's cached mappers #321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

use pymbolic's cached mappers #321

wants to merge 1 commit into from

Conversation

matthiasdiener
Copy link
Collaborator

@matthiasdiener matthiasdiener commented May 13, 2022

@matthiasdiener matthiasdiener marked this pull request as ready for review May 13, 2022 02:55
Comment on lines +33 to 38
from pymbolic.mapper.substitutor import (CachedSubstitutionMapper as
SubstitutionMapperBase)
from pymbolic.mapper.dependency import (DependencyMapper as
from pymbolic.mapper.dependency import (CachedDependencyMapper as
DependencyMapperBase)
from pymbolic.mapper.evaluator import (EvaluationMapper as
from pymbolic.mapper.evaluator import (CachedEvaluationMapper as
EvaluationMapperBase)
Copy link
Owner

Choose a reason for hiding this comment

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

Could you change the imported names to include Cached, to avoid misunderstandings?

@@ -30,11 +30,11 @@

from pymbolic.mapper import (WalkMapper as WalkMapperBase, IdentityMapper as
Copy link
Owner

Choose a reason for hiding this comment

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

Could you characterize the impact of this PR? Any notable compile time improvements? Did anything get worse?

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.

2 participants