I don't think there's much more room for improvement by way of memoization. Most of the time was spent in FileUtils.compareFilenames. 

Using the entry for the name and entry type could be slightly faster than asking for DOM properties. It's probably slight though because it only happens once per node because of the memoization.