Browse Source

Drop obsolete TODO

Jelmer Vernooij 1 tháng trước cách đây
mục cha
commit
b33801486b
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      dulwich/pack.py

+ 0 - 5
dulwich/pack.py

@@ -2989,11 +2989,6 @@ class Pack:
         chunks = base_obj
         for prev_offset, _delta_type, delta in reversed(delta_stack):
             chunks = apply_delta(chunks, delta)
-            # TODO(dborowitz): This can result in poor performance if
-            # large base objects are separated from deltas in the pack.
-            # We should reorganize so that we apply deltas to all
-            # objects in a chain one after the other to optimize cache
-            # performance.
             if prev_offset is not None:
                 self.data._offset_cache[prev_offset] = base_type, chunks
         return base_type, chunks