Skip to content

Commit ca1f6ba

Browse files
one more iteration and the sketch finds something interesting
1 parent d259012 commit ca1f6ba

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

examples/blocking.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn main() {
1313

1414
let runner_1 = Runner::default()
1515
.with_expr(&mm)
16-
.with_iter_limit(5)
16+
.with_iter_limit(6)
1717
.with_time_limit(Duration::from_secs(30))
1818
.with_node_limit(1_000_000)
1919
.with_scheduler(SimpleScheduler)
@@ -24,9 +24,10 @@ fn main() {
2424
println!("{}", runner_1.report());
2525

2626
let root_mm = runner_1.egraph.find(runner_1.roots[0]);
27-
let baseline_sketch = sketch::sketchify(SPLIT_GUIDE);
27+
let split_guide_sketch = rise::sketchify(SPLIT_GUIDE, true);
28+
println!("Sketch:\n{}", split_guide_sketch.pretty(50));
2829
let (_, sketch_extracted_split_guide) =
29-
sketch::eclass_extract(&baseline_sketch, AstSize, &runner_1.egraph, root_mm).unwrap();
30+
sketch::eclass_extract(&split_guide_sketch, AstSize, &runner_1.egraph, root_mm).unwrap();
3031

3132
println!("Guide Ground Truth");
3233
split_guide.pp(false);

0 commit comments

Comments
 (0)