Skip to content

Commit

Permalink
feature: add MastForest::advice_map and load it before the execution
Browse files Browse the repository at this point in the history
When merging forests, merge their advice maps and return error on key
collision.
  • Loading branch information
greenhat committed Nov 19, 2024
1 parent 006e03a commit d91cec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/mast/serialization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ use decorator::{DecoratorDataBuilder, DecoratorInfo};
use string_table::{StringTable, StringTableBuilder};
use winter_utils::{ByteReader, ByteWriter, Deserializable, DeserializationError, Serializable};

use crate::AdviceMap;

use super::{DecoratorId, MastForest, MastNode, MastNodeId};
use crate::AdviceMap;

Expand Down

0 comments on commit d91cec8

Please sign in to comment.