-
This exposes the full generality of their implementations. Note: HStoreRef is the new heterogeneous implementation. We could define StoreRef using the Store_of_HStore functor, but in our tests this functor application is only inline properly by flambda-enabled compilers. Instead we perform the redefinition of the homogeneous store type by hand (which amounts to manually inlining the small functor definition), which is simpler and un-breaks inlining with non-flambda builds.
This exposes the full generality of their implementations. Note: HStoreRef is the new heterogeneous implementation. We could define StoreRef using the Store_of_HStore functor, but in our tests this functor application is only inline properly by flambda-enabled compilers. Instead we perform the redefinition of the homogeneous store type by hand (which amounts to manually inlining the small functor definition), which is simpler and un-breaks inlining with non-flambda builds.