Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

[python] Collect path data which can be resused for find_in_workspaces #757

Closed
wkentaro wants to merge 2 commits intoros:indigo-develfrom
wkentaro:collect-path-data
Closed

[python] Collect path data which can be resused for find_in_workspaces #757
wkentaro wants to merge 2 commits intoros:indigo-develfrom
wkentaro:collect-path-data

Conversation

@wkentaro
Copy link
Copy Markdown

@wkentaro wkentaro changed the title Collect path data which can be resused for find_in_workspaces [python] Collect path data which can be resused for find_in_workspaces Sep 29, 2015
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this function cannot be resused in find_in_workspaces() because find_in_workspaces() has first_matching_workspace_only arg.
And reusing can cause low performance for it, because this function see all workspaces and cannot stop after first match.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function does not provide any new information over the existing catkin API. The algorithm calling the other existing API is trivial. Please move this function to ros/ros_comm#676 where it is being used.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I amended the commit at ros/ros_comm#676.

@wkentaro
Copy link
Copy Markdown
Author

wkentaro commented Oct 8, 2015

the all commits in this PR is not needed now.
So I close this.
Also see comments above at #757 (comment) #757 (comment) .

@wkentaro wkentaro closed this Oct 8, 2015
@wkentaro wkentaro deleted the collect-path-data branch October 8, 2015 09:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants