$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Filesystem: Choose random file from directory
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2012-06-22 21:27:32
Hi,
I have a directory with about 500.000 thousand small files in it. I
need to randomly select one of those file. What would be the *most
efficient* way to achieve this?
Thank you,
Andrej