[SOLVED] DSRN (dog slow roman numerals)
|
06-11-2014, 08:23 PM
Post: #5
|
|||
|
|||
RE: DSRN (dog slow roman numerals)
Alright, this was as fast as I could get it. It runs in about half the time, but it's also about 140 bytes larger. Anything I tried involving local variables and subroutines actually ran slower. :/ I'm guessing it could be even faster if you get rid of the A subroutine and unroll it wherever it's used, but then the program will get even more bloated.
Code: \<< I tried it with IF instead of WHILE for the multi-letter terms (since they can only be appended once), but it was slightly slower. I can't explain that. Maybe extra parsing overhead looking for an ELSE or something. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)