Page 2 of 2

Posted: Thu Apr 26, 2007 8:04 pm
by elderK
Well, No... it shouldnt.

Why do you think it should core dump?

a) It accounts for the Tree being null. Thats no problem.
b) It is the only node in the Tree, Its insertion completely sidesteps the usual insertion routine (which accounts for balances, etc).
c) Why in gods name would you do that?

~zeii.

Posted: Fri Apr 27, 2007 12:09 am
by B.E
Sorry. I was looking for a way to get it to rotate incorrectly. anyway,

Posted: Fri Apr 27, 2007 12:01 pm
by elderK
That being said, Insertion into the Tree - after doing that, will cause a lot of hell. It shouldn't crash, but it will most definately not be balanced correctly.

Messed up balances leads to the Dark side of the source... :P

Thanks for the warning though, B.E :) If you find other ways to crash the heck out of it, Itd be appreciated.

~zeii.

Posted: Fri Apr 27, 2007 10:40 pm
by elderK
Alrighty, Ive got a minimalistic site setup.
;) Its meant to be supercorny / mock-horror.

Anyways, The library so far, is simply called "Portable ADT Library".
(Might codename it Molecule :P)

Anywho, When it has a basic page up for it, I will continue to post the 'latest' sources for the library, as it evolves.

http://www.node-networks.net/~zit

~zeii.