BuckeyeSoftware/rex

rx::function is very large

Closed this issue · 2 comments

Currently it store three function pointers for initializing, finalizing and dispatching the type-erased functor. We can fuse these into a single function and store one function pointer, using a switch to dispatch, much like how rx::global<T> works.

Made smaller by 48ab9df too