ros2 / geometry2

A set of ROS packages for keeping track of coordinate transforms.
BSD 3-Clause "New" or "Revised" License
110 stars 193 forks source link

[TimeCache] Improve performance for insertData() and pruneList() (backport #680) #694

Closed mergify[bot] closed 1 month ago

mergify[bot] commented 1 month ago

Resolves #676

Per https://github.com/ros2/geometry2/issues/676#issuecomment-2109109282, this should yield a ~1000x speedup for insertData (for inserting new data only)


This is an automatic backport of pull request #680 done by Mergify.

mergify[bot] commented 1 month ago

Cherry-pick of d700d78611ca2f2a56128ee71dd157961a1f4fb4 has failed:

On branch mergify/bp/iron/pr-680
Your branch is up to date with 'origin/iron'.

You are currently cherry-picking commit d700d786.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   tf2/src/cache.cpp

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally