HomeSoftware Heritage

Refactor the isochrone graph computation

Description

Refactor the isochrone graph computation

attempt to simplify a bit this part of the code:

  • IsochroneNode are now only used for directories
  • FileEntry are used directly from IsochroneNode.entry.files (no need for creating new FileEntry instances), so
  • IsochroneNode.children only stores IsochroneNode (thus DirectoryEntry) objects,
  • rename IsochroneNode.date as 'dbdate' and clarify its semantics,
  • attempt to document (comments) a bit more the algorithm and semantics of several attributes/variables used in there.

Details

Provenance
douarddaAuthored on May 12 2021, 9:47 AM
douarddaPushed on Jun 4 2021, 3:31 PM
Differential Revision
D5773: Refactor the isochrone graph computation
Parents
rDPROVb90c8625c040: Replace 'DirectoryEntry.ls()' method by 'files' and 'dirs' properties
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21784
Build 33871: test-and-buildJenkins console · Jenkins