Jonathan de Jong
Jonathan de Jong
FWIW with "templates" i mean something along the lines of [this](https://github.com/vector-im/element-web/issues/new?assignees=&labels=T-Defect&template=bug-web.yml);  Only with above fields.
> ruma-client doesn't generally re-export features It's just an example, i wasnt entirely sure :sweat_smile: > The opposite case is already a Cargo error (you can't activate non-existing features) :+1:
Should we try to make a torture test for stateres? Something like the most convoluted and tangled forked DAG being resolved.
How would this work? Would we allow streaming on only some request/response types, or will we switch to a `Into`-able streaming type?
I believe https://github.com/ruma/ruma/pull/767#issuecomment-1012198072 is still relevant, I have it in my todo list to revisit that.
I've maybe found some easy optimizations; - Change `StateMap`'s `String` key to `Cow`, this allows the caller to "compress" the state event key. - However, playing around a bit in...
> We could even go down to two words by copying the beef crate's unsafe trickery, but that should likely be a separate change. I saw `beef` while looking at...
> We can use a custom type instead of `Cow` which uses `Box` over `String` That's the wrong optimization i want to make here, I want to optimize the heap-allocated...
FTR the reason why we cant just use `&str` and friends is because `iterative_auth_check` wants to push owned strings into `StateMap`s, so that rules out only borrowing.
Not neccecarily, but that HashSet has larger heap pressure than Vec would have, thus me trying to tackle it. The main goal here is to reduce leaf dedup, and other...