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 »

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: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: JSON export optimization

Post by iforce2d »

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 »

Any update on this? It's still a pretty big issue in our workflow, and should be easy to fix.
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: JSON export optimization

Post 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.
mango
Posts: 5
Joined: Wed Nov 18, 2015 12:00 pm

Re: JSON export optimization

Post by mango »

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

Re: JSON export optimization

Post by mango »

Any progress on the next release? :)
Post Reply