Darren New <dne### [at] san rr com> wrote:
> > 16 bytes to store one single character sounds quite a lot... :)
> And a fourth pointer for the value associated
That's not necessary if you use the '\0' node to end strings, as you
pointed out.
> Hmmmmm. Well, certainly the '\0' node could point to a different structure
> than the other nodes. You already have three pointers there to play with,
> and you could reasonably hang an entire tree underneath if you wanted.
You can't use the "right child" pointer of the '\0' node for ancillary
data because it can be part of the regular tree structure.
--
- Warp
Post a reply to this message
|