The high cost of 1024 new envelopes

The parameter gestures system produced an unfortunate side effect due to the 1024 new envelopes involved : the undo system in HourGlass started to slow down. I noticed that the GUI updates were stalled for a little moment when new undo entries were added. But I only now understood that recalling an undo state now takes a very noticeable amount of time. This might make it necessary to rewrite the undo system to be more efficient. Hopefully this doesn’t turn into a very big problem…The alternative would be to exclude the gesture envelopes completely from the undo system, which isn’t ideal and would in itself involve a lot of code changes too.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s