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.
2 parents bf8b48d + 681e7ed commit 26460a8Copy full SHA for 26460a8
README.md
@@ -47,3 +47,15 @@ julia> @btime besselk1(x) setup=(x=Float32(10.0*rand()))
47
| besseli1 | 7x |
48
| besselk0 | 5x |
49
| besselk1 | 5x |
50
+
51
+```julia
52
+# SpecialFunctions.jl
53
+julia> @btime besselk(1, x) setup=(x=10.0*rand())
54
+ 184.726 ns (1 allocation: 16 bytes) # notice the small difference in Float32 and Float64 implementations
55
+0.0007517428778913419
56
57
+# Bessels.jl
58
+julia> @btime besselk1(x) setup=(x=10.0*rand())
59
+ 47.824 ns (0 allocations: 0 bytes)
60
+0.0057366790518002045
61
+```
0 commit comments