Displaying 1 result from an estimated 1 matches for "l3619".
Did you mean:
3619
2023 Feb 08
1
On optimizing `R_NewEnv()`
Hi all,
I really like the addition of `R_NewEnv()` back in 4.1.0
https://github.com/wch/r-source/blob/625ab8d45f86f65561e53627e1f0c220bdc5f752/src/main/envir.c#L3619-L3630
I have a use case where I'm likely to call this function a large
number of times to generate many small hashed environments, so I'd
like to optimize it as far as possible.
I noticed that it takes `int size`, converts that to a SEXP for
`R_NewHashedEnv()`, which then simply converts...