EDGES_WORK_BUFFER_SIZE

Constant EDGES_WORK_BUFFER_SIZE 

Source
pub const EDGES_WORK_BUFFER_SIZE: usize = 4096;
Expand description

This constant used to be the default capacity of work packets that process slots, such as ProcessSlots. But now it is an empirical value used by many work packets.

We expose this constant to the VM binding developers. During root scanning, the VM binding should call methods of crate::vm::RootsWorkFactory and pass lists of root slots or root nodes. This constant shall be used as the max lengths of those lists.