Skip to content

Commit 53dc87d

Browse files
committed
Reduce memory copying in Cython version
1 parent e964d4a commit 53dc87d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fastcdc/fastcdc_cy.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def chunk_generator(stream, min_size, avg_size, max_size, fat, hf):
3535
h = hf(blob[:cp]).hexdigest() if hf else ''
3636
yield Chunk(offset, cp, raw, h)
3737
offset += cp
38-
blob = blob[cp:]
3938

4039

4140
@cython.boundscheck(False)

0 commit comments

Comments
 (0)