Skip to content

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?

from typing import (
Any, Union, Mapping, FrozenSet, Set, Tuple, Optional, TYPE_CHECKING)

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.

3 participants