Skip to content

Experimental support of SIMD (go 1.26)ย #231

@samber

Description

@samber

A few helpers might have SIMD variants:

  • Sum
  • Min/Max
  • Clamp
  • ReduceSum
  • ReduceMinMax
  • Product
  • Abs
  • Sqrt
  • Contains
  • Every
  • Some
  • None
  • Find
  • More ?

We won't recode arrow in ro, but I'm open to discussion for a high-level pipelining abstraction. Example:

  • Pythagoras's theorem: Sqrt(Mul(a, a), Mul(b, b))
  • Average age of adults: Mean(GreaterThan(18, age))

Since this is an experimental package, the API is considered as unstable.

The helpers currently implemented can be chained, except for ReduceXxxx operators, which perform horizontal aggregations and return a single value.

Initial work: #232

Metadata

Metadata

Assignees

No one assigned

    Labels

    goPull requests that update go codeoperatorRelated to Operator logic or components (chainable transformation in reactive programming)performanceIssues or pull requests related to measuring or improving performance.pluginDevelopment or maintenance of a plugin or extension in plugins/ directory.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions