Evy

Results 46 comments of Evy

I propose reöpening this issue, as dependent typing can be used to pick the most fitting type. This would e.g. allow for 255 bytes strings to take up exactly 256...

@slightlyoutofphase It's easy, really. I ask for no user-visible API change, except for the return types of capacity and length functions. That code snippet of mine just demonstrated that it...

Addendum: Horizontal scroll bars are needed for tables, such as the user table in the admin area.

> without std::vec, what would block::Matrix look like? Does it need to be resizable? Can't remember seing any `push` anywhere. You might as well just allocate a flat array of...

Well, doesn't the amount of memory to allocate solely depend on the configuration parameters for Argon2? Just allocate a big enough buffer in advance. After all, your API does not...

Okay, so, the first step would be to link against [Rust's allocator API](https://doc.rust-lang.org/book/custom-allocators.html), i.e. against `__rust_allocate` and others, [just like here](https://github.com/rust-lang/rust/blob/b1363a73ede57ae595f3a1be2bb75d308ba4f7f6/src/liballoc/heap.rs). With this, you'd `__rust_allocate` your block of memory on...

As long as querying some random web service is an *opt-in* feature I can ignore, I am okay with this.

Finally, soon i can remove my 2km long `--remap-path-prefix` entries from `$RUSTFLAGS`, neat!

Something like this would also be useful to e.g. have an entire icon theme in just one image file. Then you pick the group of the icon you need, which...