rx::function is very large
Closed this issue · 2 comments
graphitemaster commented
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.
graphitemaster commented
Fixed in f25dca0
graphitemaster commented
Made smaller by 48ab9df too