Skip to content

reimplement with Array.Copy #4

Description

@todo

las-cs/src/LasCs.cs

Lines 173 to 178 in 1cec7b7

// 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 1cec7b7. It's been assigned to @iykekings because they committed the code.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions