JSON export optimization

What would you like to see in future versions of the editor?
Post Reply
mango
Posts: 5
Joined: Wed Nov 18, 2015 12:00 pm

JSON export optimization

Post by mango » Wed Nov 18, 2015 12:08 pm

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.

iforce2d
Site Admin
Posts: 855
Joined: Sat Dec 22, 2012 7:20 pm

Re: JSON export optimization

Post by iforce2d » Sun Nov 22, 2015 10:50 am

Yes, there must be a more efficient way to get that done. I'll put it on the todo list. Thanks!

mango
Posts: 5
Joined: Wed Nov 18, 2015 12:00 pm

Re: JSON export optimization

Post by mango » Fri Apr 14, 2017 8:03 pm

Any update on this? It's still a pretty big issue in our workflow, and should be easy to fix.

iforce2d
Site Admin
Posts: 855
Joined: Sat Dec 22, 2012 7:20 pm

Re: JSON export optimization

Post by iforce2d » Sat Apr 15, 2017 1:06 pm

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.

mango
Posts: 5
Joined: Wed Nov 18, 2015 12:00 pm

Re: JSON export optimization

Post by mango » Sat Apr 15, 2017 2:40 pm

Awesome, thanks!

mango
Posts: 5
Joined: Wed Nov 18, 2015 12:00 pm

Re: JSON export optimization

Post by mango » Wed Dec 20, 2017 10:36 am

Any progress on the next release? :)

Post Reply