Open kuznetsss opened 2 months ago
Currently we are copying handler to process each request: https://github.com/XRPLF/clio/blob/7fcd3e48bd4f2080a4433d79d6925dc0bb0bdf8f/src/rpc/common/AnyHandler.hpp#L56-L58
We could avoid it and return a handler by reference or shared pointer.
Currently we are copying handler to process each request: https://github.com/XRPLF/clio/blob/7fcd3e48bd4f2080a4433d79d6925dc0bb0bdf8f/src/rpc/common/AnyHandler.hpp#L56-L58
We could avoid it and return a handler by reference or shared pointer.