Christian Clauss d23e709aea
maths/sum_of_digits.py: Streamline benchmarks (#7914)
* maths/sum_of_digits.py: Streamline benchmarks

```
sum_of_digits(262144): 19 -- 0.3128329170285724 seconds
sum_of_digits_recursion(262144): 19 -- 0.34008108399575576 seconds
sum_of_digits_compact(262144): 19 -- 0.6086010000435635 seconds

sum_of_digits(1125899906842624): 76 -- 0.8079068749793805 seconds
sum_of_digits_recursion(1125899906842624): 76 -- 0.8435653329943307 seconds
sum_of_digits_compact(1125899906842624): 76 -- 1.247976207989268 seconds

sum_of_digits(1267650600228229401496703205376): 115 -- 1.6441589999594726 seconds
sum_of_digits_recursion(1267650600228229401496703205376): 115 -- 1.713684624992311 seconds
sum_of_digits_compact(1267650600228229401496703205376): 115 -- 2.2197747920290567 seconds
```

* updating DIRECTORY.md

* Update sum_of_digits.py

* Update sum_of_digits.py

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-11-01 14:07:11 +01:00
..
2022-10-30 11:52:50 +01:00
2022-10-13 11:45:20 +02:00
2022-10-25 21:47:52 +02:00
2022-11-01 10:50:50 +13:00
2022-06-22 12:04:18 +08:00
2022-10-12 20:41:52 +02:00
2021-09-07 13:37:03 +02:00
2022-10-12 20:42:30 +02:00
2020-07-06 09:44:19 +02:00
2022-07-14 12:54:24 +05:30
2022-10-23 13:17:30 +02:00
2020-01-18 13:24:33 +01:00
2022-05-16 19:28:30 +08:00
2022-10-16 09:43:29 +02:00
2021-08-15 21:15:53 +02:00
2021-08-15 21:15:53 +02:00
2022-11-01 10:51:45 +13:00
2022-10-12 22:42:02 +02:00