File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,18 @@ the book _Numerical Solution of Hyperbolic Partial Differential Equations_ by pr
102
102
see more details here
103
103
+ [ room for performance improvement for SubArray #5117 ] ( https://github.com/JuliaLang/julia/issues/5117 )
104
104
105
- Timings for baseline:
105
+ Timing for baseline with ` @unsafe ` macro annotation :
106
106
``` sh
107
- 822.768 milliseconds (89601 allocations: 4421 KB)
108
- 593.164 milliseconds (40 allocations: 236 KB)
107
+ 0.103402 seconds (21 allocations: 235.531 KB)
109
108
```
110
- for ` sub ` version:
109
+
110
+ Timing for `OffsetArray` version with `@unsafe` macro annotation:
111
+ ``` sh
112
+ 0.103987 seconds (16 allocations: 235.094 KB)
113
+ ```
114
+
115
+ for ` sub ` macro version with ` @unsafe ` macro annotation (doesn't work without ` @unsafe ` ):
111
116
```
112
- 1.250 seconds (223 k allocations: 9697 KB, 2.41% gc time)
113
- 823.135 milliseconds (19507 allocations: 540 KB)
117
+ 0.105967 seconds (217 allocations: 268.094 KB)
114
118
```
115
- The 2nd timing is after warming up.
119
+ Only the 2nd timing after warming up is given .
You can’t perform that action at this time.
0 commit comments