It doesn't have to look at each file, but it *does* look at
each *filename* of the directory. The glob is first going
to create the entire list of matches - which it can only
do by checking all filenames.
If you want quicker output, you have to write your own
opendir/readdir wrapper.
Abigail