Timeline for We're no strangers to code golf, you know the rules, and so do I
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2012 at 21:07 | comment | added | Sebastian Apprecht | thank you for the ideas primo, I've tried this out in an earlier version but I dont need the more keys (they cost more space than they are eliminating). At the moment I'm playing with another algorithm of replacement (the actual one does not include the efficency of an replacement). The replacement of the capitals is actually very "expensive" - if someone has here a good idea I'll try this out. | |
Jun 8, 2012 at 13:26 | comment | added | primo |
I'd really like to see a PHP submission win ;) You should be able to extend your range back to range('%',_) which should give you ~4 more usable keys to switch (, ' and one of () would likely need to be replaced with itself).
|
|
Jun 8, 2012 at 8:54 | history | edited | Sebastian Apprecht | CC BY-SA 3.0 |
added 15 characters in body
|
Jun 8, 2012 at 7:59 | comment | added | primo |
Underscores don't need quotes. range('-',_) will work just fine. Also the trailing ?> is not necessary, instead just use a semi-colon. Unfortunately, that still leaves you at 567 bytes, counting necessary newlines.
|
|
Jun 8, 2012 at 7:58 | history | edited | Sebastian Apprecht | CC BY-SA 3.0 |
edited body
|
Jun 8, 2012 at 7:48 | comment | added | Sebastian Apprecht | just fixed the code and tested it again: now it should work :) | |
Jun 8, 2012 at 7:46 | history | edited | Sebastian Apprecht | CC BY-SA 3.0 |
fixed: now there are two more linebraks... :(
|
Jun 8, 2012 at 6:54 | history | edited | Sebastian Apprecht | CC BY-SA 3.0 |
added 13 characters in body
|
Jun 7, 2012 at 9:25 | comment | added | Ed H. | I'm getting a count of < 500 bytes from your entry. You probably have code formatting mistakes with "<" and ">" | |
Jun 6, 2012 at 23:14 | history | answered | Sebastian Apprecht | CC BY-SA 3.0 |