matthieu-m

Results 50 comments of matthieu-m

There's a `#[realign_stack]` attribute mentioned early on, but the rest of the RFC only refers to `#[stack_realign]`, so I think the former is a left-over from a previous iteration and...

The IntoOwned would indeed work for most cases I think. It would perform exactly 1 more memory allocation IF the buffer is consumed in the last iteration while having the...

@Gankro actually, I am wondering if IntoOwned is going to be that easy. For efficiency, the slice should only become a String (with IntoOwned) if insertion is necessary. At the...

[Comment from joaquintides](https://www.reddit.com/r/cpp/comments/1apd205/comment/kqib3h5), general hash map guru, and more recently one of the authors of `boost::unordered_flat_map`: > I haven't observed that situation you describe. Take into account however that "holes"...

I submitted https://github.com/rust-lang/hashbrown/pull/507 as an attempt to measure the performance loss from leaving holes behind. I can't be certain that the benchmark is doing the right thing. In particular, I...

> The only case where this could conceivably make a difference might be iterating over all the elements of a hash table, but this is a relatively rare use case...

> > https://raw.githubusercontent.com/joaquintides/usingstdcpp2023/main/More%20than%20a%20rehash.pdf > > It may actually be worth looking into the design of boost's new hash table to see if it's worth adopting it instead of SwissTable for...

@ktprime Yes, unfortunately that's not that helpful. Firstly, hashbrown is inspired by Swiss Table, but not an exact port as far as I can tell. This means that while at...

Current discussion on r/cpp about benchmark many hashmaps: https://www.reddit.com/r/cpp/comments/auwbmg/hashmap_benchmarks_what_should_i_add/ It may give ideas about new benchmarks and new hashmaps to consider. Also, it's notable that Abseil's Swiss Table seem to...

Not that I know of, yet, short of running them yourself. At the moment the OP is gathering maps and benchmarks ideas, I am hoping that once everything is setup...