-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.PerformanceSuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.help wanted
Milestone
Description
The discussion at #31586 includes several techniques for optimizing xor of byte slices, including using encoding/binary (with native endianness) and loop unrolling. It'd be nice to apply them to safeXORBytes
, which is used on many non-amd64 platforms. An optimized safeXORBytes
might even be fast enough that we could delete fastXORBytes
.
Somewhat related: #30553
cc @nhooyr
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.PerformanceSuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.help wanted