I hope I'm missing something but the design of the
older_version_dir
for the versioning plugin seems to have a scaling problem.
I did three versions.
1.0.0
was 41.6 MB
I made some small changes and created 1.0.1.
1.0.1
was 84.4 MB
I then made no changes but built a 1.0.2
1.0.2
was 127.2 MB
So after the first release the
older_versions_dir
was 41.6 MB, after the second release it was 126.0 MB, after the third release it was 253.2 MB. This is scaling
exponentially.
I understand that each version contains a copy of all the other versions, but should we be storing each copy so many times. Do we just need the latest version since it contains all the others, or is there something in each version we can copy out that doesn't have the other versions.