JustForFun88

Results 26 issues of JustForFun88

Small, preliminary, yet rather cosmetic improvements that improve the readability of the code and the detection of potential errors (#1881). The main improvement here is that now `Volts` is identified...

This pull request does: - removes a lot of unnecessary memory allocations. For example, previously, multiple allocations of vectors were performed in a loop to store a single character (function...

We only need to clone the contents of the vector, not the vector itself.

This pull request simplifies the `lapce_ui::settings::ThemeSection::new` function by removing the allocation of two intermediate vectors (one for `Vec`, the second inside `Itertools::sorted` method). Also, since the colors are just `String`s...

A-ui
C-perf

This PR adds a reduce methods to the array structure. This method is very useful if you want to apply a function to all elements of an array. Using `fold`...

waiting-on-author

The `guard.0 = index + 1` in the implementation of `clone_from _impl` is completely unnecessary, since an invalid index can be set in advance.

Fix #399. Tried to do it without additional overhead. Unless there are additional comparisons.

All methods of the RawTableInner structure assume one important detail that is not described in the documentation: the `ctrl` and `bucket_mask` fields must remain unchanged throughout the life of the...

Attempt to implement `get_many_mut` with a variable number of keys, as requested in #332. cc @Ten0