Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Version 0.1.2
Browse files Browse the repository at this point in the history
Small optimization/cleanup release here.

- Fixed `StackBlur` behavior with repeating iterators. It used to
  just continue without returning a `None`. Now it properly returns a
  `None` before continuing.

- Switched to new `imgref-iter` iterators. These are relatively immature
  (I made them in about 4 hours) but they simplify the implementation of
  `blur_horiz`, `blur_vert` and `blur` massively, as well as possibly
  benefitting the ecosystem of crates that use `imgref`, since anyone
  can use the crate.

- `blur` has been optimized slightly to avoid allocating more than one
  deque. It used to allocate two because it called `blur_horiz` and
  `blur_vert` individually.

The perf increase is barely anything. Larger increases are planned from
things like `rayon` and SIMD.
  • Loading branch information
LoganDark committed Jun 18, 2022
1 parent 0b42a42 commit 820db6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'stackblur-iter'
version = '0.1.1'
version = '0.1.2'
authors = ['LoganDark']
edition = '2021'
rust-version = '1.56'
Expand Down

0 comments on commit 820db6a

Please sign in to comment.