Chris D wrote:
Well in my case field order is important, but the order of the individual fields isn't. So I can speed up getFields to roughly O(1) by implementing Document as follows.
Have you actually found getFields to be a performance bottleneck in your application? I'd be surprised if it was. If it isn't, then this looks like a premature optimization.
Doug --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]