mirror of
https://github.com/house-of-vanity/sum_counter.git
synced 2025-08-21 15:57:19 +00:00
Merge branch 'master' of github.com:house-of-vanity/sum_counter
This commit is contained in:
@@ -3,11 +3,11 @@ Homebrewed bad benchmark tool.
|
|||||||
|
|
||||||
|
|
||||||
just sum every digit of every number.
|
just sum every digit of every number.
|
||||||
ex. 0 - 12 = 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + *1 + 0 + 1 + 1 + 1 + 2* = 51
|
e.g. 0 - 12 = 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + **1 + 0 + 1 + 1 + 1 + 2** = 51
|
||||||
|
|
||||||
All versions use fork and tested on linux.
|
All versions use fork and tested on linux.
|
||||||
|
|
||||||
GO version
|
GO version (Author: Mikhalich)
|
||||||
```Processing sequence from 0 to 1000000000
|
```Processing sequence from 0 to 1000000000
|
||||||
Shard size: 250000000
|
Shard size: 250000000
|
||||||
remainder: 0
|
remainder: 0
|
||||||
|
Reference in New Issue
Block a user