Allow event store implementations more freedom to optimise type-erasure
The following discussion from !1026 (merged) should be addressed:
-
@olupton started a discussion: (+2 comments) Yeah, after all of my changes then
AnyDataWrapper
is the main surviving source of dynamic [de]allocation.If we could completely defer the type-erasure to the store then the fast memory pool implemented here could be used instead of (or as well as) SSO, but I couldn't see how to do that non-invasively...