Commit 046da19
committed
Optimize for the current CPU arch and for speed
Use -Ofast -march=native -mtune=native -funroll-loops to improve the
speed without effort :)
Before: around 8.5 seconds per iteration (11200 songs/second)
After: around 2.9~3 seconds per iteration (30000 songs/second)1 parent 1d7a719 commit 046da19
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments