Skip to content

ARM64 NEON Implementation of hex.Encode and hex.Decode #75070

@elementrics

Description

@elementrics

Hello!

This is my first time being here!

I started my go journey a few months back and I want to get started giving back!

My proposal: I would like to submit an ARM64 assembly implementation of the hex.Encode and hex.Decode functions using NEON instructions.

For medium to large slices my custom implementation outperforms the generic version by a big margin (at least on my machine (M1 Max) and inside an microbenchmark).

If everything should work out, I could also provide an amd64 version in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions