Not an expert but I thought I would share my thoughts based on experience. When you look at the size of a file it’s stored in actual metadata of the file so it can be accessed quickly however since a folder is a collection of files it can’t easily keep that info. Once you ask the is what the size it is has to go and add up the values of each file contained in it. This can take a bit of time especially with larger folders so if windows constantly calculated the size of every folder it would just waste resources and make everything painfully slow. Again not an expert this is just how I think it happens.
Not an expert but I thought I would share my thoughts based on experience. When you look at the size of a file it’s stored in actual metadata of the file so it can be accessed quickly however since a folder is a collection of files it can’t easily keep that info. Once you ask the is what the size it is has to go and add up the values of each file contained in it. This can take a bit of time especially with larger folders so if windows constantly calculated the size of every folder it would just waste resources and make everything painfully slow. Again not an expert this is just how I think it happens.