Page 1 of 1

JSON export optimization

Posted: Wed Nov 18, 2015 12:08 pm
by mango
Hi,

I have an easy and simple optimization request :-)

The JSON export gets very slow if the number of object references gets high. It seems to parse each object file multiple times if I have many duplicates of the same object.

For example:
1) Create tree.rube with some physics
2) In another scene, add object reference to tree.rube
3) Duplicate tree 50 times
4) Export to JSON (it's quite slow)

Could be optimized by not opening and parsing tree.rube 50 times.

Re: JSON export optimization

Posted: Sun Nov 22, 2015 10:50 am
by iforce2d
Yes, there must be a more efficient way to get that done. I'll put it on the todo list. Thanks!

Re: JSON export optimization

Posted: Fri Apr 14, 2017 8:03 pm
by mango
Any update on this? It's still a pretty big issue in our workflow, and should be easy to fix.

Re: JSON export optimization

Posted: Sat Apr 15, 2017 1:06 pm
by iforce2d
Sorry, I actually went through this forum trying to collect together things to do for the recent update, but somehow missed this one. I'll try to get it into the next release.

Re: JSON export optimization

Posted: Sat Apr 15, 2017 2:40 pm
by mango
Awesome, thanks!

Re: JSON export optimization

Posted: Wed Dec 20, 2017 10:36 am
by mango
Any progress on the next release? :)