Skip to content

Commit

Permalink
bump version and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindln committed Jun 18, 2024
1 parent d1de8db commit 084c21b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file.

---
## [0.7.4](https://github.com/Frommi/miniz_oxide/compare/0.7.3..0.7.4) - 2024-06-18

### Bug Fixes

- **(miniz_oxide)** simplify init_tree a little and use a smaller lookup table for bit reversal - ([2ba520a](https://github.com/Frommi/miniz_oxide/commit/2ba520a458704e9fd12817fd2e945d869502c59c)) - oyvindln
- **(miniz_oxide)** evade bounds checks in record_match to improve compression performance a little - ([d1de8db](https://github.com/Frommi/miniz_oxide/commit/d1de8dba2e2bbea6452c9a1d78b221a0f41dadd2)) - oyvindln
- **(deflate)** evade a bounds check in deflate for a small perf improvement - ([b4baed3](https://github.com/Frommi/miniz_oxide/commit/b4baed337a70c317c5d6a2fa245bda21f461fc6b)) - oyvindln

### Other

- disable c miniz part in miniz_oxide_c_api of bench - ([2f0a9a3](https://github.com/Frommi/miniz_oxide/commit/2f0a9a3b4f2bc49c44efa3fa9e3afada893ab775)) - oyvindln

---
## [0.7.3](https://github.com/Frommi/miniz_oxide/compare/0.7.2..0.7.3) - 2024-05-17

Expand Down
1 change: 1 addition & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ ignore_tags = ""
date_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"
features_always_bump_minor = false
2 changes: 1 addition & 1 deletion miniz_oxide/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "miniz_oxide"
authors = ["Frommi <[email protected]>", "oyvindln <[email protected]>"]
version = "0.7.3"
version = "0.7.4"
license = "MIT OR Zlib OR Apache-2.0"
readme = "Readme.md"
keywords = ["zlib", "miniz", "deflate", "encoding"]
Expand Down
3 changes: 3 additions & 0 deletions miniz_oxide/src/deflate/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,12 @@ struct OutputBufferOxide<'a> {

impl<'a> OutputBufferOxide<'a> {
fn put_bits(&mut self, bits: u32, len: u32) {
// TODO: Removing this assertion worsens performance
// Need to figure out why
assert!(bits <= ((1u32 << len) - 1u32));
self.bit_buffer |= bits << self.bits_in;
self.bits_in += len;

while self.bits_in >= 8 {
self.inner[self.inner_pos] = self.bit_buffer as u8;
self.inner_pos += 1;
Expand Down

0 comments on commit 084c21b

Please sign in to comment.