Help to improve speed

bearophile bearophileHUGS at lycos.com
Mon Jun 9 12:27:58 PDT 2008


Jacob Carlborg:
> I have an application that maps numbers to words from a list of words 
> written in Ruby. I've ported the application to D and it's terrible slow 
> and I don't know why.

Is the purpose of your program as this one, that I have written time ago? It may give you some ideas:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=57497

Note that ruby hashes may be faster than D ones (Python ones are much faster than D ones in all situations).

Bye,
bearophile



More information about the Digitalmars-d mailing list