Skip to content

Commit

Permalink
refactor(core): abstract memo table into a trait (#211)
Browse files Browse the repository at this point in the history
The current memo table implementation is refactored into a trait, and
the implementation is called `NaiveMemo`.

---------

Signed-off-by: Alex Chi <[email protected]>
  • Loading branch information
skyzh authored Nov 3, 2024
1 parent 9a69cea commit 36e28ee
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 239 deletions.
2 changes: 1 addition & 1 deletion optd-core/src/cascades.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ mod memo;
mod optimizer;
mod tasks;

pub use memo::Memo;
pub use memo::{Memo, NaiveMemo};
pub use optimizer::{CascadesOptimizer, ExprId, GroupId, OptimizerProperties, RelNodeContext};
use tasks::Task;
Loading

0 comments on commit 36e28ee

Please sign in to comment.