What happens if <banana> also had children of <good> and <bad>? Now you would have to search for and track back two chains... and when you add apple/orange etc., it gets slower and slower.
Also, a HoHoH... will always be considerably faster than a linear search of an array.
In reply to Re: Idea for XPath implementation
by BrowserUk
in thread Idea for XPath implementation
by Jaap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |