Skip to content

Any thought about trying Go 1.26 SIMD support here? #217

Description

@0xsimulacra

Hi,

Thanks for this package, I use it a lot.

I also use it as base for an "int256"-ish implementation here: https://github.com/0xsimulacra/int256

I saw that Go 1.26 now has experimental SIMD support on AMD64, and I was wondering if there had been any thought about trying to use that here. https://pkg.go.dev/simd/archsimd

I don’t know SIMD very well myself, so maybe for uint256 stuff it does not help much, or maybe it is not worth the added complexity, I’m not sure.

I just wanted to ask if this is something you already looked at, and whether you think there is any possible gain in some hot paths ?

I’d be happy to help experiment with it if you think it makes sense, but I would need guidance since this is not really my area.

Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions