Closed
Description
Originally posted by @bkamins in #44 (comment)
Also the problem is that function passed to
map
does not have to be pure, in which case you should apply it to each element of the array.
Related is: #36.
By the functional definition of map
it kinda should be pure.
But that isn't what julia has, so it's probably not great to assume that.
It might be nice though if there was a pure_map
(in DataAPI maybe?) that is documented to be assuming that the function is pure.
And that falls back to map
if not overloaded (e.g. by PooledArray
), or possibly even for large arrays to a memorized version of map
(could even go so far as to do a little tuning step to workout how large)
Metadata
Metadata
Assignees
Labels
No labels