|Keep It Simple, Stupid|
Re: Dueling Flamingos: The Story of the Fonality Christmas Golf Challengeby primo (Beadle)
|on Dec 17, 2012 at 08:52 UTC||Need Help??|
I've managed to reduce the Hospelian Arabic to Roman Transform by one byte.
As a lead-in, I've read most of your nodes at some point (always good reading, btw), and when I first saw Ton's amazing formula, I spent a few moments dissecting it to figure out how it did what it did. Recently, while working on a similar problem, I decided to see if I could reproduce his formula, armed with the knowledge of how it worked.
A few hours of brute forcing later, and I had a result. Naturally, I wanted to check back here to see how I had done. I was pleasantly surprised to find that I had stumbled upon a formula that was one byte shorter!
Ton's original formula:
The one byte improvement:
Even though "32e$&"%72726 is one byte longer than Ton's 5x$&*8%29628, it saves 2 bytes in the transliteration, because 01 is transliterated with IX. The alternative transliterates 012 with IXV, saving yet another byte, but it uses a modulus that's one digit longer.