Skip to content

Commit 9a12862

Browse files
committed
update doc
1 parent 2134353 commit 9a12862

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/src/index.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,9 @@ A `LazyBufferCache` is a `Dict`-like type for the caches, which automatically de
208208
new cache arrays on demand when they are required. The function `f` maps
209209
`size_of_cache = f(size(u))`, which by default creates cache arrays of the same size.
210210

211-
Note that `LazyBufferCache` does cause a dynamic dispatch, though it is type-stable.
212-
This gives it a ~100ns overhead, and thus on very small problems it can reduce
213-
performance, but for any sufficiently sized calculation (e.g. >20 ODEs) this
214-
may not be even measurable. The upside of `LazyBufferCache` is that the user does
215-
not have to worry about potential issues with chunk sizes and such: `LazyBufferCache`
216-
is much easier!
211+
Note that `LazyBufferCache` is type-stable and contains no dynamic dispatch. This gives
212+
it a ~15ns overhead. The upside of `LazyBufferCache` is that the user does not have to
213+
worry about potential issues with chunk sizes and such: `LazyBufferCache` is much easier!
217214

218215
### Example
219216

@@ -319,7 +316,7 @@ tries to do this with a bump allocator.
319316

320317
- See the [SciML Style Guide](https://github.com/SciML/SciMLStyle) for common coding practices and other style decisions.
321318
- There are a few community forums:
322-
319+
323320
+ The #diffeq-bridged and #sciml-bridged channels in the
324321
[Julia Slack](https://julialang.org/slack/)
325322
+ The #diffeq-bridged and #sciml-bridged channels in the

0 commit comments

Comments
 (0)