We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691f5cf commit acc52c4Copy full SHA for acc52c4
README.md
@@ -29,11 +29,11 @@ julia> unitful = convert(Unitful.Quantity, dyn_uni)
29
30
julia> f(x, i) = x ^ i * 0.3;
31
32
-julia> @btime f($dyn_uni, i) setup=(i=rand(1:10));
33
- 10.719 ns (0 allocations: 0 bytes)
+julia> @btime f($dyn_uni, 1);
+ 8.759 ns (0 allocations: 0 bytes)
34
35
-julia> @btime f($unitful, i) setup=(i=rand(1:10));
36
- 30.583 μs (42 allocations: 1.91 KiB)
+julia> @btime f($unitful, 1);
+ 30.083 μs (42 allocations: 1.91 KiB)
37
```
38
39
**(Note the μ and n.)**
0 commit comments