File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,8 @@ impl EdgeBuffer {
366
366
Ok ( rv)
367
367
}
368
368
369
+ // FIXME: clean up commented-out code
370
+ // if we decide we don't need it.
369
371
fn collect_pre_existing_edges (
370
372
& self ,
371
373
alive_node_times : AliveNodeTimes ,
@@ -374,14 +376,14 @@ impl EdgeBuffer {
374
376
let mut edges = vec ! [ ] ;
375
377
let mut i = 0 ;
376
378
let parent = tables. edges ( ) . parent_slice ( ) ;
377
- let child = tables. edges ( ) . child_slice ( ) ;
379
+ // let child = tables.edges().child_slice();
378
380
let node_time = tables. nodes ( ) . time_slice ( ) ;
379
381
while i < parent. len ( ) {
380
382
let p = parent[ i] ;
381
- let c = child[ i] ;
383
+ // let c = child[i];
382
384
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)
385
387
{
386
388
let mut j = 0_usize ;
387
389
while i + j < parent. len ( ) && parent[ i + j] == p {
You can’t perform that action at this time.
0 commit comments