saving speedup

Firstly the saving times are very good.

The renoise instrument is like redux and most of the time when saving is spend on instrument samples.

Maybe we could have some save flag on instruments that determine (redux already knows this?) if it needs to be re saved.

Basically I would like to have instant save when working on pattern/effects/automations/etc.

I know its not that simple, but some “smart” saving would be great.

Maybe the samples, so the FLACs, could get a dirty/changed - flag, so they will be re-encoded on save only, if it was changed? So the previous encoded FLACs always kept in a system-temp dir? As a result, the saving time from 2nd saving and onwards could be quite speeded-up maybe…