Use "auto" with GENERATOR instead of std::function
Summary: Now that we're using C++14 more broadly, we should use it to improve generator performance. This speeds up a microbenchmark >5x by removing type erasure. Reviewed By: philippv Differential Revision: D6398730 fbshipit-source-id: 5809058a3b5ff0e66fd4b1e8954698944e1a7d09
Showing
Please register or sign in to comment