why my tail implementation is much more slower than coreutil ?

bioinfornatics bioinfornatics at fedoraproject.org
Sun Nov 4 14:41:01 PST 2012


Le dimanche 04 novembre 2012 à 17:36 +0100, bioinfornatics a écrit :
> my tail implementation do not provides all features exposed by
> coreutil.tail. Just able to read a file no stdout or piping and my D
> implementation is slower than coreutil.tail.

convenience way to look the code http://pastebin.geany.org/wWUYu/

Maybe Mmfile is useless since i read once time the file and i never come
back to a any position in file, then map the file cost too?



More information about the Digitalmars-d-learn mailing list