Do you think it is faster to read the file size or make the database call?
That depends entirely on your database and your filesystem and is therefore impossible to tell from this distance. But why guess when you can Benchmark?
In reply to Re: Time reading file size
by hippo
in thread Time reading file size
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |