-
-
Notifications
You must be signed in to change notification settings - Fork 123
perf: remove the SIMD after measuring what it was worth #1262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
9d39c9d
7c02e87
44303a8
8f253d9
b249e05
223f8d5
703c545
039912e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| #![cfg_attr(feature = "simd", feature(portable_simd))] | ||
| pub mod decode; | ||
| pub mod encode; | ||
| pub mod errors; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,12 @@ description = "Binary data and constants for WhatsApp protocol" | |
| crate-type = ["rlib"] | ||
|
|
||
| [features] | ||
| default = ["simd"] | ||
| # Does nothing. The packed codec this used to gate is table-driven scalar now, | ||
| # which measured faster than the vectors it replaced. Kept, and out of | ||
| # `default`, only because the crate is published: a manifest that names | ||
| # `features = ["simd"]` fails to resolve against a crate that has no such | ||
| # feature, and that error points at the consumer rather than at this change. | ||
| # Delete it at the next major. | ||
| simd = [] | ||
|
cubic-dev-ai[bot] marked this conversation as resolved.
|
||
| serde = ["dep:serde", "compact_str/serde", "smallvec/serde"] | ||
|
Comment on lines
14
to
15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Removing Useful? React with 👍 / 👎. |
||
| # Render raw phone numbers in `Jid::observe()` instead of the redacted `pn#<hash>`. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.