www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - nth_element implementation

Hi all,

Does anybody have an efficient nth_element implementation (ala the STL) for D
1.0.  I was using the version from algortihms.d in DMD 2.012 but that seems to
be non-existent anymore and was quite buggy.

thanks,
wade
Feb 12 2009