derive-storable 0.1.0.4 → 0.1.0.5
raw patch · 2 files changed
+3/−10 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +2/−2
- derive-storable.cabal +1/−8
README.md view
@@ -8,8 +8,6 @@ * all fields of the constructor need to be GStorable. * implement a Generic instance (`derive (Generic)`) -In order to achieve the same performance as for hand-written instances, take a look at [derive-storable-plugin](https://hackage.haskell.org/package/derive-storable-plugin).- # Usage Here's an example:@@ -47,4 +45,6 @@ ``` +#Optimisation +There are some problems with performance of derived Storable instances. For now there exists a solution in form of GHC Core plugin - [derive-storable-plugin](https://hackage.haskell.org/package/derive-storable-plugin).
derive-storable.cabal view
@@ -1,6 +1,6 @@ name: derive-storable -version: 0.1.0.4+version: 0.1.0.5 synopsis: Derive Storable instances with GHC.Generics. description: Derive Storable instances with GHC.Generics. The derived Storable instances have the same alignment as C structs.@@ -53,10 +53,3 @@ type: git location: https://github.com/mkloczko/derive-storable branch: master---source-repository this- type: git- location: https://github.com/mkloczko/derive-storable- branch: master- tag: bb5cc5d3fa34c8346fda84898606ea3c120ea131