Jonathan de Jong

Results 589 comments of Jonathan de Jong
trafficstars

The maintenance cost might be high to (essentially) maintain a HTML parser, but even if we should depend on a library such as `html5ever` to achieve this, I believe having...

Yes, the richer API i was envisioning is one that would be able to take any Matrix HTML string, and represent it in DOM/tree form for consumption or modification, same...

Yes, at the moment the MSC is blocked until the endpoint sees good application (probably in conjunction with another MSC), so sorry this'll probably bitrot for a while. That said,...

This approach turns out to be problematic together with https://github.com/ruma/ruma/issues/1118

I've done a quick command to gain some initial statistics, this is what i get on my machine (FX-6300), all crates >=10s; ``` jonathan@jon:~/dev/ruma/crates/ruma$ cargo bloat --time --features full |...

I think a Pro as you already mentioned is that you're targeting a monolithic crate, but i think a con to that is that you'll have to work around Features...

> What do you mean by targeting? Only having 1 dependency, `ruma=1.0.2` andsoforth. > I don't understand. I would actually expect that to become simpler, since we no longer have...

> I still don't see why this would be any better now than with fewer crates. I'm worried that it'll become less manageable with one crate than with a few...

Should be worth noting that Unicode supports word boundaries; https://unicode.org/reports/tr29/