Skip to content

Commit

Permalink
Reduce memory copying in Cython version
Browse files Browse the repository at this point in the history
  • Loading branch information
titusz committed Jun 27, 2024
1 parent e964d4a commit 53dc87d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fastcdc/fastcdc_cy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def chunk_generator(stream, min_size, avg_size, max_size, fat, hf):
h = hf(blob[:cp]).hexdigest() if hf else ''
yield Chunk(offset, cp, raw, h)
offset += cp
blob = blob[cp:]


@cython.boundscheck(False)
Expand Down

0 comments on commit 53dc87d

Please sign in to comment.