Removed some left over debugging output.
This commit is contained in:
parent
bbf33cc7cb
commit
786e58aa1a
1 changed files with 6 additions and 3 deletions
|
@ -700,9 +700,12 @@ static int fgPartialFreeSSGtree( ssgBranch *b, int n ) {
|
||||||
|
|
||||||
if ( n > 0 ) {
|
if ( n > 0 ) {
|
||||||
// we still have some delete budget left
|
// we still have some delete budget left
|
||||||
if ( b->getNumKids() > 100 ) {
|
// if ( b->getNumKids() > 100 ) {
|
||||||
cout << "large family = " << b->getNumKids() << endl;
|
// cout << "large family = " << b->getNumKids() << endl;
|
||||||
}
|
// }
|
||||||
|
// deleting in reverse would help if my plib patch get's
|
||||||
|
// applied, but for now it will make things slower.
|
||||||
|
// for ( int i = b->getNumKids() - 1; i >= 0 ; --i ) {
|
||||||
for ( int i = 0; i < b->getNumKids(); ++i ) {
|
for ( int i = 0; i < b->getNumKids(); ++i ) {
|
||||||
ssgEntity *kid = b->getKid(i);
|
ssgEntity *kid = b->getKid(i);
|
||||||
if ( kid->isAKindOf( ssgTypeBranch() ) && kid->getRef() <= 1 ) {
|
if ( kid->isAKindOf( ssgTypeBranch() ) && kid->getRef() <= 1 ) {
|
||||||
|
|
Loading…
Reference in a new issue