Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Potential optimizations using System.Span, System.Memory, and stackalloc #22

@lostromb

Description

@lostromb

Concentus interpreted almost all C pointers as a combination of an array and an integer offset, e.g. "int[] x, int x_ptr". These could potentially all be replaced by new Span constructs in .NetCore 2.0 for better optimization. Furthermore, most stack array allocations are done on the heap in C#, which also yields bad performance (except where they were hand-inlined inside the FFT)
See https://msdn.microsoft.com/en-us/magazine/mt814808.aspx

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions