From: klausm0762@... (Klaus Momberger) Date: 2004-08-28T07:21:18+09:00 Subject: Re: performance comparison Boris Glawe wrote in message news:... > 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