Page MenuHomeSoftware Heritage

Add function is_hash_in_bytearray.
ClosedPublic

Authored by vlorentz on Thu, Jul 25, 3:04 PM.

Details

Summary

To search for a hash in an array by dichotomy. This will be used to
exclude existing content from a replay to avoid useless copies.

Depends on D1769.

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Thu, Jul 25, 3:04 PM
douardda accepted this revision.Mon, Jul 29, 2:03 PM
This revision is now accepted and ready to land.Mon, Jul 29, 2:03 PM
This revision was automatically updated to reflect the committed changes.