I thought operations like "foldl'" and "drop" must be very fast on arrays (especially UArray) with appropriate pointer tricks, I mean pointer incrementing instead of indexing for "foldl'" and a pointer into the array for "drop". Is it planned to add such functions? Ok, if "foldl f x . elems" and "listArray (i,sufficientlyBig) . drop n . elems" are fused to high speed code, then these functions do not need to materialize in the API. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
- [Haskell-cafe] fast Array operations: foldl, drop Henning Thielemann
- Re: [Haskell-cafe] fast Array operations: foldl, d... Jules Bean
- Re[2]: [Haskell-cafe] fast Array operations: f... Bulat Ziganshin
- Re: [Haskell-cafe] fast Array operations: fold... Andrew Coppin
- Re: [Haskell-cafe] fast Array operations: foldl, d... Bryan O'Sullivan
- Re: [Haskell-cafe] fast Array operations: fold... Henning Thielemann
- Re: [Haskell-cafe] fast Array operations: fold... Ketil Malde
- Re: [Haskell-cafe] fast Array operations: ... Henning Thielemann
- Re: [Haskell-cafe] fast Array operatio... Don Stewart
- Re: [Haskell-cafe] fast Array ope... Roman Leshchinskiy
- Re: [Haskell-cafe] fast Array... Don Stewart