Skip to content

Conversation

@pbrubeck
Copy link
Contributor

Description

@pbrubeck pbrubeck requested a review from connorjward January 21, 2026 09:03
Copy link
Contributor

@connorjward connorjward left a comment

Choose a reason for hiding this comment

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

Couldn't you just have Interpolate._interpolator as a cached property?

@pbrubeck
Copy link
Contributor Author

pbrubeck commented Jan 22, 2026

Couldn't you just have Interpolate._interpolator as a cached property?

That sounds fine, the diff will be longer, but seems more elegant.

The cached property will have to take the role of get_interpolator, and get_interpolator will then just going to fetch the property. Does this sound correct to you?

@pbrubeck pbrubeck requested a review from connorjward January 22, 2026 12:04
@pbrubeck pbrubeck merged commit c5ef5d1 into main Jan 22, 2026
6 of 7 checks passed
@pbrubeck pbrubeck deleted the pbrubeck/cache-interpolator branch January 22, 2026 12:20
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