Skip to content

Switch Signature & ObjectPath to byte-slice-based

Zeeshan Ali Khan requested to merge sign-optimize into master

Instead of using string API that implies UTF8 checks, use the byte API.

This saves us up to 21% cpu time in certain benchmarks.

Benchmark repo: https://github.com/KillingSpark/rust-dbus-comparisons/

Fixes https://gitlab.freedesktop.org/zeenix/zbus/-/issues/31.

Merge request reports

Loading