[SOLVED] DSRN (dog slow roman numerals)
|
06-12-2014, 05:46 PM
(This post was last modified: 06-12-2014 06:13 PM by HP67.)
Post: #13
|
|||
|
|||
RE: DSRN (dog slow roman numerals)
Dave, your replacement with the local subroutine screams on my 50g. Time is 102 seconds average for two runs of 1,000 conversions. Nice work. Lots to be said for local subroutines.
I'll try Thomas' and post the 50g time later. Ok, Thomas' version takes 157 seconds. Although as is usual for him the code is very clean I would guess calling the subroutine whether you need to or not accounts for the extra time. I think the fact that Dave turned my CASE into a bunch of descending whiles was pure genius. Thanks for the insights guys! It ain't OVER 'till it's 2 PICK |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)