You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The actual monomorphic and dictionary-less mapWithIndex FFI is defined in foldable-traversable via mapWithIndexArray. Perhaps the mapWithIndexArray could be exported in FunctorWithIndex, such that we can re-export here under the name mapWithIndex?
The text was updated successfully, but these errors were encountered:
I think that exporting a monomorphic version that's just an alias of the dictionary version would have identical performance characteristics because it would be partially applied.
This library defines the monomorphic
mapWithIndex
function as azipWith
function on the initial array and an indices-array constructed using the input array's size. I'd guess it's actually slower than just usingFunctorWithIndex.mapWithindex
.The actual monomorphic and dictionary-less
mapWithIndex
FFI is defined infoldable-traversable
viamapWithIndexArray
. Perhaps themapWithIndexArray
could be exported inFunctorWithIndex
, such that we can re-export here under the namemapWithIndex
?The text was updated successfully, but these errors were encountered: