Friday, December 4, 2009

increased efficiency

so I've had this nagging feeling that I might have some efficiency problems in this thing, and I suspect that it has to do with the lines that connect nodes. I started suspecting them because every now and then I notice little dots like you see below, and the only place I can see them coming from is connections that are not being deleted properly.

so I added a text field to print out the number of children that the line 'layer' has, and low and behold:

seems like I'm getting 8 for the price of one... I have a good idea where this is coming from though. Oh and I should also mention that when you navigate backwards only one child is removed (not the 8 that are created)

No comments:

Post a Comment