#Suggestions to shave some time

1 messages · Page 1 of 1 (latest)

rough plume
#

Hopefully this code uploaded correctly. Basically the Alphametics exercise in Exercism tests pass locally (takes 25 to 30 seconds) but the tests time out on the site. Was hoping to get some suggestions that might help me shave off some time.

rough plume
#

well i was able to shave some time by not call string.to_graphemes inside my to_number function and just passing in a list of strings--still not enough time to get the tests to not time out in Exercism though ☹️

rough plume
#

okay, i got the tests to pass in Exercsim. changed how i tested for the solution. tests still run significantly faster locally but at least it's down to about 8 seconds on Exercism site