gkjohnson / xacro-parser

Utility for parsing and converting ROS Xacro files in Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change property scopes to improve speed

gkjohnson opened this issue · comments

Copying all the parameters over from object to object seems to be the slowest part of the parse. Creating a special properties class that retains its scope and climbs the tree until finding the desired value might help speed things up so large copies don't have to happen.

Related to #7.

This doesn't seem to be the case