www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Map/Reduce/Filter

reply bearophile <bearophileHUGS lycos.com> writes:
superdan:
 better said 8x slower and quite a bit dumber too. great deal.

Feel free to suggest how to make parts of the code more enlightened. Andrei Alexandrescu has lot of more experience than me in C++-like languages, and this is my first lib in in D. Regarding speed, there are things faster too, like sorting, some string operations, or you can benchmark the levenshtein distance present in the std.algorithm, compared to the version you can find in my libs. Bye, bearophile
Jun 19 2008
parent superdan <super dan.org> writes:
bearophile Wrote:

 superdan:
 better said 8x slower and quite a bit dumber too. great deal.

Feel free to suggest how to make parts of the code more enlightened. Andrei Alexandrescu has lot of more experience than me in C++-like languages, and this is my first lib in in D.

less braggin' goes a long way. you keep on goin' about ur lib as if it is the next avatar of freakin' buddha. also wtf is wrong with u man. did u swear to use only the zip format for the rest of ur life??? to read the doc of ur lib i need to download it then unzip and then freakin' grep the god damn html. wtf! put the damn html on ur website and let google take care of the rest.
 Regarding speed, there are things faster too, like sorting, some string
operations, or you can benchmark the levenshtein distance present in the
std.algorithm, compared to the version you can find in my libs.

sorting may be faster only with default comparison. also it's the most ass-backward sorting api i've ever seen. ur levenshtein may be the fastest in the world but is useless as it doesn't give u the path. thanks for nothin'.
Jun 19 2008