Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • graph-tool graph-tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tiago Peixoto
  • graph-toolgraph-tool
  • Merge requests
  • !30

Mass bind -> lambda conversion

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jeff Trull requested to merge jaafar/graph-tool:feature/lambda-conversion-WIP into master Jun 17, 2020
  • Overview 26
  • Commits 1
  • Pipelines 8
  • Changes 98

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 Jul 07, 2020 by Jeff Trull
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/lambda-conversion-WIP