in reply to Re^2: A better, more powerful fileglob?
in thread A better, more powerful fileglob?

Something says me it will not be very efficient ...

The particular implementation you mentioned, serializing the file system tree into an XML doc then deserializing it into a XML tree, would indeed be inefficient.

However, XPath can be applied to tree structures (such as a file system) in an efficient manner. It was designed to do just that.

  • Comment on Re^3: A better, more powerful fileglob?

Replies are listed 'Best First'.
Re^4: A better, more powerful fileglob?
by CountZero (Bishop) on Feb 15, 2007 at 20:56 UTC
    Thanks. I do some reading up on XPath then (it is several years ago I last used it). I seem to have had the wrong impression that it needed XML to work upon.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law