Commit 6034df6
committed
ComputeMinMax(): speed-up computation in the non-mask case for all non-complex types (but Byte and UInt16 that were already optimized)
timings wih a SSE2 optimized build:
- before:
testByte(): 0.306
testInt8(): 5.779
testUInt16(): 0.726
testInt16(): 2.519
testUInt32(): 6.933
testInt32(): 7.537
testUInt64(): 8.140
testInt64(): 7.807
testFloat16(): 12.953
testFloat32(): 6.105
testFloat64(): 6.525
- after
testByte(): 0.308
testInt8(): 0.440
testUInt16(): 0.710
testInt16(): 0.897
testUInt32(): 1.986
testInt32(): 1.826
testUInt64(): 6.004
testInt64(): 5.641
testFloat16(): 2.120
testFloat32(): 1.811
testFloat64(): 3.5711 parent 808a093 commit 6034df6
2 files changed
+42
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8260 | 8260 | | |
8261 | 8261 | | |
8262 | 8262 | | |
| 8263 | + | |
| 8264 | + | |
| 8265 | + | |
| 8266 | + | |
| 8267 | + | |
| 8268 | + | |
| 8269 | + | |
| 8270 | + | |
| 8271 | + | |
| 8272 | + | |
| 8273 | + | |
| 8274 | + | |
8263 | 8275 | | |
8264 | 8276 | | |
8265 | 8277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
38 | 68 | | |
39 | 69 | | |
40 | 70 | | |
| |||
0 commit comments