3Hren / 3Hren/msgpack-rust

Performance tweaks

Open
#142 1 comment 0 reactions 0 assignees View on GitHub
C: lowlevel M: help wanted P: normal T: enhancement V: patch
Dominant language
Rust
Stars
1.4k
Forks
162
PR merge metrics
No merged PRs in 30d

Description

Currently there are performance issues due to indirection between decoding a marker and a value itself; and non-inlining in the core RMP crate. Need to write benchmarks and fix them. The one approach is to mark some functions as `[inline]` or `[inline(always)]`. This works, but I feel it a little bit hacky. The other one - is to match for marker bytes directly and avoid using `read_marker`, but we lose an abstraction then.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.