add comment about Move.children
This commit is contained in:
parent
c5b0e65bfa
commit
7e8ec5b451
@ -15,6 +15,10 @@ pub struct Move {
|
||||
pub parent: Option<usize>,
|
||||
|
||||
/// Indices of this Move's Children
|
||||
// PERF! this accounts for ~40% of memory usage
|
||||
// I'm thinking maybe switching to this actually being `Vec<Box<Move>>`
|
||||
// and ditching the entire `Arena` idea, that would have
|
||||
// cascading effects though, something to think about
|
||||
pub children: Vec<usize>,
|
||||
|
||||
/// Has this [`Move`] already attempted to create children?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user