diff options
author | Ivan Frade <ifrade@google.com> | 2024-02-21 15:06:38 -0800 |
---|---|---|
committer | Ivan Frade <ifrade@google.com> | 2024-02-26 09:56:17 -0800 |
commit | 049749558e340e1c34abd9b7bf08696c6fd99880 (patch) | |
tree | 6ebb4ea1131aad2ac3be0ec580b1896a052065fa /tools | |
parent | d132050c2bfd13463482cb6f69b0e0e4de9556d7 (diff) | |
download | jgit-049749558e340e1c34abd9b7bf08696c6fd99880.tar.gz jgit-049749558e340e1c34abd9b7bf08696c6fd99880.zip |
DfsPackFile: Abstract the bitmap loading to support other backends
Current code reads the bitmap index from the pack extension and loads
all bitmaps into memory, with its IO and memory cost. We could
consider to store the bitmaps on e.g. a database and load them on
demand.
Abstract the loading of the PackBitmapIndex in an interface that can
be implemented with other backends.
Change-Id: Ib5f64d05954708ea5325feea7088a8df229b36a5
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions