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

refactor(core): abstract memo table into a trait #211

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Nov 2, 2024

The current memo table implementation is refactored into a trait, and the implementation is called NaiveMemo.

@skyzh skyzh requested a review from jurplel November 2, 2024 17:58
}

/// A naive, simple, and unoptimized memo table implementation.
pub struct NaiveMemo<T: RelNodeTyp> {
Copy link
Member

Choose a reason for hiding this comment

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

We should move this impl to another file at some point

Base automatically changed from skyzh/separate-cost-stat to main November 3, 2024 15:55
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
@skyzh skyzh enabled auto-merge (squash) November 3, 2024 15:57
@skyzh skyzh disabled auto-merge November 3, 2024 16:00
@skyzh skyzh merged commit 36e28ee into main Nov 3, 2024
1 check passed
@skyzh skyzh deleted the skyzh/memo-trait branch November 3, 2024 16:00
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