File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,8 @@ impl EdgeBuffer {
366366 Ok ( rv)
367367 }
368368
369+ // FIXME: clean up commented-out code
370+ // if we decide we don't need it.
369371 fn collect_pre_existing_edges (
370372 & self ,
371373 alive_node_times : AliveNodeTimes ,
@@ -374,14 +376,14 @@ impl EdgeBuffer {
374376 let mut edges = vec ! [ ] ;
375377 let mut i = 0 ;
376378 let parent = tables. edges ( ) . parent_slice ( ) ;
377- let child = tables. edges ( ) . child_slice ( ) ;
379+ // let child = tables.edges().child_slice();
378380 let node_time = tables. nodes ( ) . time_slice ( ) ;
379381 while i < parent. len ( ) {
380382 let p = parent[ i] ;
381- let c = child[ i] ;
383+ // let c = child[i];
382384 if node_time[ p. as_usize ( ) ] <= alive_node_times. max
383- || ( node_time[ c. as_usize ( ) ] < alive_node_times. max
384- && node_time[ p. as_usize ( ) ] > alive_node_times. max )
385+ // || (node_time[c.as_usize()] < alive_node_times.max
386+ // && node_time[p.as_usize()] > alive_node_times.max)
385387 {
386388 let mut j = 0_usize ;
387389 while i + j < parent. len ( ) && parent[ i + j] == p {
You can’t perform that action at this time.
0 commit comments