From: Dave Cantrell Date: 2006-02-16T03:23:17+09:00 Subject: Re: tree structures frank wrote: > Thanks Dave, I'll look this over as I continue to modify my code. > I really wouldn't use that for anything other than what it was: my first real attempt to write a linked list that was exactly that, not implemented as an array. Arrays are native (and I presume implemented in C?) and will have *far* better performance than anything we create ourselves. As others said, I think you'd be better off approaching the problem domain from scratch using The Ruby Way(tm) rather than trying to port C code into Ruby. Ugly C code makes ugly Ruby code, or ugly any other code, regardless. :( Good luck! -dave