Skip to content

Mass bind -> lambda conversion

In my experiments, using lambdas instead of bind() produces some advantages during compilation: a small savings (around 3%) in build time but nearly 20% in memory usage, which can help indirectly by increasing the parallel build factor.

This work was performed with the help of a hacked version of clang-tidy's modernize-avoid-bind check, along with clang-format to make the result presentable.

Edited by Jeff Trull

Merge request reports