private bool commitMemory(int simplifyLimit) { //TODO this rapidly slows down the performance _data.Simplify(simplifyLimit); if ( _locals.DifferInCount || _meta.DifferInCount || _globals.DifferInCount || _localControls.DifferInCount || _globalControls.DifferInCount || _data.DifferInCount ) { //there is some difference in size of containers //it means that there is change according to previous transaction return(true); } //check variables according to old ones if ( _locals.CheckChange() || _meta.CheckChange() || _globalControls.CheckChange() || _globals.CheckChange() || _localControls.CheckChange() ) { //there is change in variable info return(true); } return(_data.CheckChange()); }