<div dir="ltr"><div class="gmail_extra">All these discussions about faster or slower are not considering very important thing:  all these operations are going through singleton process file_server.  All this speed will become nothing on single core.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">This hackish way:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">{ok, H} = prim_file:start(),</div><div>{ok, Entries} = prim_file:list_dir(H, Path)<br></div><div><br></div><div><br></div><div>works on multicore</div></div></div>