gl-block (hackage):   [Index] [Quick Jump]  Package maintainers  For package maintainers and hackage trustees  Candidates    Primitive types should have the Block instance. With that in place, you can build structures and get Storable instances derived generically, according to intented usage.  The benchmark consists of filling a Storable vector.  There's only one "manual" case standing for all the layouts since it would only be different in pointer offsets. And no way in hell I'm going to calculate them by hand!  Caveat: nested structures have degraded performance.
Keywords: graphics|library