Zeeshan Ali Khan

Results 438 comments of Zeeshan Ali Khan
trafficstars

> I thought this issue can be used as a place to collect info and ideas on how to improve this. Thanks. I'm guessing it's because of all the generics...

> Also, did you try any of [these](https://github.com/johnthagen/min-sized-rust) and if they help in regards to zbus' % of the pie? I briefly tried with `dbuz` and most of them don't...

In GitLab by @MaxVerevkin on Jan 7, 2023, 23:50 Interesting. I tried ```toml [profile.release] lto = "thin" opt-level = "z" codegen-units = 1 debug = 1 ``` and zvariant went...

In GitLab by @ids1024 on Feb 22, 2023, 19:37 I wonder if there's any good way to specifically measure generic bloat. I think it should be possible to determine what...

In GitLab by @federico on Feb 22, 2023, 20:51 I've been doing a little investigation in librsvg on the code size for its generics, with `cargo bloat --release -n 0...

> For other types of generics, there's the [momo crate](https://github.com/llogiq/momo/) to help with the pattern of writing an inner function that is called from the public functions that remove the...

I spent some hours today [splitting generics-using methods](https://gitlab.freedesktop.org/zeenix/zbus/-/tree/bloat-hunt) but with each change `cargo bloat` claimed even more bloat (perhaps partly because `cargo bloat` isn't precise and partly because the real...

Also how much can we really trust the output of cargo-bloat? :thinking:

In GitLab by @sdroege on Feb 26, 2023, 13:14 Is that with a proper application that actually uses zbus in a non-trivial way?

@sdroege you asking me or @MaxVerevkin ? As I wrote, I checked against dbuz.