Dynamically modify references in genpy

asked 2019-10-23 20:28:51 -0600

pmd323 gravatar image

Does anyone has any insights on why reference modification is needed in dynamically generated classes?

Was looking at the code here: https://github.com/ros/genpy/blame/ki...

I find that generating a dynamic class for a relatively complex type takes over 10 minutes in python 2. All of the overhead is coming from calls to re.sub.

edit retag flag offensive close merge delete

Comments

for a relatively complex type takes over 10 minutes

What is "relatively complex"? I've created some messages that I'd consider relatively complex, but none took that long to generate.

Can you show an example?

gvdhoorn gravatar imagegvdhoorn ( 2019-10-24 02:48:46 -0600 )edit