Skip to content

Commit e5f5f73

Browse files
committed
feat: Add MessageMf
MessageMf has "Many fields" making it able to see how borrowed and owned scale differently. Added benchmarking creating default instances of Message and MessageMf. Removed the xxx_loop() variants as they don't add information just more noise. I would like to look at why xxx_idx_loop() is sometimes slower than xxx_iter_loop(). NOTE: I believe some of the noise is caused by code alignment changes as we tweak that where doing and change code. See: https://www.google.com/search?q=benchmark+sensitive+to+code+alignment and rust-lang/rust#82232
1 parent 03456c7 commit e5f5f73

25 files changed

+816
-1529
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "exper-borrowed-vs-owned-parameters"
33
authors = [ "Wink Saville <[email protected]" ]
44
license = "MIT OR Apache-2.0"
5-
version = "0.2.0"
5+
version = "0.3.0"
66
edition = "2021"
77

88
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

0 commit comments

Comments
 (0)