Aurelia Molzer
Aurelia Molzer
> Say, spawn worker threads up front and have them pick tasks off the task queue immediately? We can't, or at the very least I don't see how. `rayon` doesn't...
Actually, I have a devious and plainly stupid idea as well regarding join handles. I had assumed that scopes can only end in code by stepping out (side note: that...
Features in `cargo` are supposed to be (super-)additive. When two downstream crates require `imageproc` then each of them might choose a different set of features but in the cargo build...
For the forseeable future the project is mainly limited by dev head count/time. Delegation is not a problem as long as the changes are properly licensed. Porting libjpeg-turbo's SIMD implementation,...
> Ideally, I'd like to locate someone who can work on this codec full-time for a while and bring it up to parity with libjpeg-turbo (which is not usable in...
There was a similar (well, somewhat similar) code converting between color representation in [`image/webp`](https://github.com/image-rs/image/pull/1140). There are likely some lessons that can be learned from this, in particular about when Rust/llvm...
I've added my thoughts on idiomatic code style above but in terms of functionality, I do believe this is already decently covers a few cases. We clearly signal when a...
As one can see from [this playground](https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=8cd149599f5f3ad1320d8077c3c4588d), the compiler does not eilde all bounds accesses and is prepared to panic for the non-unsafe loop. Why, we don't know. Comment out...
Two more variants, they don't get SIMD optimized unlike the `unsafe` version. ```rust pub fn enumerate_loop(image: &mut GrayImage, d: u8) { for (_, _, p) in image.enumerate_pixels_mut() { *p =...
Found a very manual but safe version that is optimized as nicely as the `unsafe` one in the main loop, not a very big surprise though. ```rust pub fn samples_loop(image:...