Skip to content

reimplement with Array.Copy #3

Description

@todo

las-cs/src/LasCs.cs

Lines 173 to 178 in 0463e60

// TODO: reimplement with Array.Copy
public static T[][] chunk<T>(T[] arr, int size)
{
int i = 0;
return arr.GroupBy(s => i++ / size).Select(g => g.ToArray()).ToArray();
}


This issue was generated by todo based on a TODO comment in 0463e60 when #2 was merged. cc @laslibs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions