diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-09-18 16:04:24 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-09-20 08:47:02 +0200 |
commit | 56edfefb9718f72bd45093e0efd76bd88645fa89 (patch) | |
tree | 44868fd03fdfe1977cfb6275c60703b972130726 /lib/sqfs/comp | |
parent | 310d0f23da22435be13864c93364359f0cb7f443 (diff) |
block writer: move block comaprison to utility function
Slightly modify the byte-for-byte comparison function to compare an
arbitrary range in a file and move it to libutil. Instead of calling
it for each block in the block writer, simply let it check an entire
range in the block writer and compute the range position/size of the
reference ahead, before looking for potential matches.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp')
0 files changed, 0 insertions, 0 deletions