Conversation
this version was created on v3.0.0 originally and later rebased to 1.0.0
This reverts commit 67bfca8.
chore: Release package zip version 2.0.0 # Conflicts: # Cargo.toml
This reverts commit 4e6e834.
chore: Release package zip version 3.0.0
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
I am not sure about it. We have to have it only for calls which doesn't have calls like `vec.reserve(predicted_write_n);`
There was a problem hiding this comment.
Code Review
This pull request introduces comprehensive Criterion-based benchmarks for zip archive operations, including reading, writing, and merging. It adds the criterion and tempfile dev-dependencies and a new benchmark suite in benches/criterion_bench.rs that supports low-memory environments. Feedback was provided to ensure dependency versions in Cargo.toml follow the project's convention of using carets when patch versions are specified.
|
Hi @Its-Just-Nans Can you resolve it please? I even didn't touch any CI AI suggest to edit following step https://github.com/zip-rs/zip2/blob/master/.github/workflows/ci.yaml#L35-L41 |
Criterion cannot compile to big-endian due to |
|
I see. Since Criterion is only a dev-dependency, I assume we don’t need to ensure it builds on a variety of platforms. The AI suggests setting exactly the targets we need:
|
That could be an option but the MR fixing the issue in EDIT: criterion now compiles fine |
|
This MR also close #151 I think |
|
Why did you use Also, can we move it to review ? |
I still need to decide on a few things. For example, I haven’t decided whether I should send a preallocated buffer or not. On one hand, you could argue that we are not benchmarking the allocator here. On the other hand, if there is code that performs arbitrary writes, the allocator might expose those issues. There are still other aspects I’m checking. |
…ed args in comments
…without hardware layer
# Conflicts: # Cargo.toml


#723
Draft of pull request. Check CIs.