diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-11-16 09:15:36 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-11-16 09:15:36 +0100 |
commit | 51d63256a7b3020ee11931d61b4db97b9ded02c0 (patch) | |
tree | cb6d628211c99cb6dd1938428a18ef4dd5a997dc /man/mkinmod.Rd | |
parent | 679cf716192cdfd91dfd232578cbd4e30d7eac12 (diff) |
We get about 25% performance gain
with the custom lsoda call, avoiding repeated getNativeSymbolInfo calls.
It's just that we should not be calling foreign functions from different
packages, because the may change without notice. Using
getNativeSymbolInfo for "call_lsoda" avoids the CRAN note, and a similar
call could probably be used for "unlock_solver", avoiding the NOTE in
checks for cran, but we should not do this in a CRAN package.
Diffstat (limited to 'man/mkinmod.Rd')
-rw-r--r-- | man/mkinmod.Rd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/man/mkinmod.Rd b/man/mkinmod.Rd index 87ce9016..612c3c2b 100644 --- a/man/mkinmod.Rd +++ b/man/mkinmod.Rd @@ -58,7 +58,9 @@ applicable to give detailed information about the C function being built.} \item{dll_dir}{Directory where an DLL object, if generated internally by \code{\link[inline:cfunction]{inline::cfunction()}}, should be saved. The DLL will only be stored in a permanent location for use in future sessions, if 'dll_dir' and 'name' -are specified.} +are specified. This is helpful if fit objects are cached e.g. by knitr, +as the cache remains functional across sessions if the DLL is stored in +a user defined location.} \item{unload}{If a DLL from the target location in 'dll_dir' is already loaded, should that be unloaded first?} |