mercurial/worker.py
changeset 46819 d4ba4d51f85f
parent 46405 f64806207752
child 48870 2fe4efaa59af
child 48961 df56e6bd37f6
equal deleted inserted replaced
46818:1977495dbbe2 46819:d4ba4d51f85f
   440 
   440 
   441     The current strategy takes every Nth element from the input. If
   441     The current strategy takes every Nth element from the input. If
   442     we ever write workers that need to preserve grouping in input
   442     we ever write workers that need to preserve grouping in input
   443     we should consider allowing callers to specify a partition strategy.
   443     we should consider allowing callers to specify a partition strategy.
   444 
   444 
   445     mpm is not a fan of this partitioning strategy when files are involved.
   445     olivia is not a fan of this partitioning strategy when files are involved.
   446     In his words:
   446     In his words:
   447 
   447 
   448         Single-threaded Mercurial makes a point of creating and visiting
   448         Single-threaded Mercurial makes a point of creating and visiting
   449         files in a fixed order (alphabetical). When creating files in order,
   449         files in a fixed order (alphabetical). When creating files in order,
   450         a typical filesystem is likely to allocate them on nearby regions on
   450         a typical filesystem is likely to allocate them on nearby regions on