This question is only due to curiosity. I do not have an actual problem.
I have some piece of code that creates a flat n-tuple. I ran this code twice and get two root files. For all I can tell, these root files are exactly the same, as is expected. However, the file size of the two files is different. The difference is very small (half a permille), but they are different nonetheless. I ran the code a third time, and get a different file size again. What could be the reason for this?
Differences will be due to the time stamp that’s stored with each key (i.e. “entry” in the file) and could be due to uninitialized members of the objects you store in the file, and a GUID that’s part of some files (TProcessID), depending on what you store. I might be forgetting other sources of changes in size.