# Re: Numeric Maze (#60)

**URL:** <https://www.ruby-forum.com/t/re-numeric-maze-60/51663>\
**Category:** Ruby\
**Created:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/re-numeric-maze-60/51663 "2006-01-05T17:44:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KroegerS\_Simon\_Sext](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/57b2e6/32.png) [@KroegerS\_Simon\_Sext](https://www.ruby-forum.com/u/KroegerS_Simon_Sext)\
**Post date:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/re-numeric-maze-60/51663/1 "2006-01-05T17:44:31Z")

</div>

> The code is ugly, please turn down the light:

This was already true with the original (my) code  
but is so annoying now that I would like to recommend:

Don’t do that at home!

If you realy, realy need the additional 20% speed up  
try to implement a clean C extension instead of abuse  
ruby in such a way. (you will probably get a lot more  
than 20%)

I know this was more like sport than the real life,  
all I want to say is: this is not how ruby should  
look like.

cheers

Simon

---

<div class="post-metadata">

**Author:** ![KroegerS\_Simon\_Sext](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/57b2e6/32.png) [@KroegerS\_Simon\_Sext](https://www.ruby-forum.com/u/KroegerS_Simon_Sext)\
**Post date:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/re-numeric-maze-60/51663/2 "2006-01-05T17:44:45Z")

</div>

On Jan 5, 2006, at 8:07 AM, Kroeger, Simon (ext) wrote:

> > The code is ugly, please turn down the light:
> 
> This was already true with the original (my) code  
> but is so annoying now that I would like to recommend:
> 
> Don’t do that at home!

> If you realy, realy need the additional 20% speed up  
> try to implement a clean C extension instead of abuse  
> ruby in such a way. (you will probably get a lot more  
> than 20%)
> 
> I know this was more like sport than the real life,  
> all I want to say is: this is not how ruby should  
> look like.

Yeah, I have to agree. The algorithm is generally the biggest change  
you can make and worth doing in any language, but benchmarking  
specific syntax is going too far, I think. Ruby is right when it’s  
expressive, clear, and fast enough, in my opinion.

James Edward G. II
