array::mutate #8

Open
opened 2026-04-12 16:57:55 +00:00 by jaynuine · 2 comments
Owner

or array::remap ?

the only practical difference between iter map and remap is where (and whether) the computed data is stored, should they all depend on a common meta method ?

or array::remap ? the only practical difference between iter map and remap is where (and whether) the computed data is stored, should they all depend on a common meta method ?
jaynuine added this to the spec project 2026-04-16 19:34:54 +00:00
Author
Owner

i consider these analogous to distributing an operation over another

should this meta function be specific to arrays (making it a method) or type agnostic to the extent that it may be repurposed for other data types inheriting an overarching "set" like layout ?

i consider these analogous to distributing an operation over another should this meta function be specific to arrays (making it a method) or type agnostic to the extent that it may be repurposed for other data types inheriting an overarching "set" like layout ?
Author
Owner

also unless the strides differ (from input to output) we should overwrite the array rather than allocate a new one and free the previous one once we're done

also unless the strides differ (from input to output) we should overwrite the array rather than allocate a new one and free the previous one once we're done
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaynuine/pearr#8
No description provided.