add comment about copy_queue (non-)usage
This commit is contained in:
parent
04dddcdaa8
commit
cf9fd27ca0
|
@ -121,6 +121,9 @@ impl Node {
|
|||
Node::alloc(
|
||||
arena,
|
||||
copy_matrix(arena, &matrix),
|
||||
// optimization: copy_queue() not necessary! self.queue is already
|
||||
// allocated on the arena, and this queue just aliases pointers
|
||||
// into self.queue.next
|
||||
queue,
|
||||
evaluate(&matrix, queue),
|
||||
Some(Edge {
|
||||
|
|
Loading…
Reference in New Issue