Boris Glawe <boris / boris-glawe.de> wrote in message news:<cglqqh$ql1$1 / newsreader2.netcologne.de>... > Hi, > .... > > I included the code below. Is this performance difference normal ? We are > talking about the factor 62 !! Maybe I have done something wrong in my > algorithm, but I don't know what. It's very straight and doesn't use any > expensive container operations: > yes, 2 orders of magnitude in performance between C and Ruby (Python, TCL...) is usually quite normal. It is up to you to decide if this is "fast enough". Otoh, if you can use a lot of Ruby built-ins, the result may be a lot better. -klaus