Comparative benchmarks for hGetSome(at) and their replacement functions#55
Comparative benchmarks for hGetSome(at) and their replacement functions#55
hGetSome(at) and their replacement functions#55Conversation
|
One thing I am unsure about is whether we can replace the Defining Defining The question is: do we want to keep both the "old" and the "new" primitives, if we can't ensure that the new primitives are as performant as the old ones? |
7f6f0d0 to
e508cf7
Compare
The function is now no longer constrained to `PrimBase m`, but any `m` for which `PrimState m ~ PrimState IO`.
…ions. `hGetSome'` is a new function that provides the same functionality as `hGetSome`, but uses the `hGetSomeBuf` primitive. Similary, we implement a new `hGetSomeAt'` function that provides the same functionality as `hGetSomeAt`. These comparative benchmarks should show whether we can replace the `hGetSome(At)` primitives with `hGetBufSome(At)` primtives and the new compound functions.
e508cf7 to
3b57cd3
Compare
A first step towards #50. These micro-benchmarks should allow us to determine whether we can replace the
HasFSget-primitives by theHasBufFSprimitives, without losing functionality or performance.