Well, I'm sure it works. I don't have a quesiton about that. It just seems "slow" to list.
When I go to my Documents folder or my media folder, there's always a long pause and a bunch of disk activity while it loads the contents. I'm not sure why.
Go there in a shell and list them.
You are confusing the time it takes to allocate huge chunks of memory to build a listview and sus out what type of file each is (in order to show the correct icon) with the time it takes to acutally do ls -l.
ls also does sorting, so at best you would do this:
#include