-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually memoize previous_part and next_part.
This improves performance further and doesn't really affect peak memory consumption. Because of eng/libadalang/langkit#710, overriden properties lose their memoization attribute. So, this change inlines the logic of the overriding properties inside the base properties to make sure memoization is applied.
- Loading branch information
Showing
1 changed file
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters