in reply to Re^2: How can I access a cross directory set of data files by most recently modified date?
in thread How can I access a cross directory set of data files by most recently modified date?

Well, using a binary heap as a data structure might be more efficient, especially if you know you know that you need only the the knewest $k files, then all insertion and deletion operations will be in O(log $k) operations.

But if you are talking about a more elegant interface: I don't know any :(

  • Comment on Re^3: How can I access a cross directory set of data files by most recently modified date?
  • Select or Download Code

Replies are listed 'Best First'.
Re^4: How can I access a cross directory set of data files by most recently modified date?
by SkipHuffman (Monk) on Jun 07, 2007 at 17:05 UTC

    Thanks, that may be the way I need to go, but I would rather not reinvent the square wheel if I don't have to.

    Skip