From: Martin DeMello Date: 2005-02-25T05:25:06+09:00 Subject: Re: Optimisation help needed Martin DeMello wrote: > > (And yes, it turned out to be a very small fix - merely adding the eow > attribute back to every node and saying > > if char != 0 > current.children[char] = nodes[ptr] > current.eow = eoword > end My turn to be too sleepy for this :) Of course it's a bit more tricky than that. current.children[char].eow = eoword if ptr > 1 seems to work; I'll bang on it some more in the morning. martin