HenrikBengtsson / profmem

🔧 R package: profmem - Simple Memory Profiling for R
https://cran.r-project.org/package=profmem
35 stars 2 forks source link

DON"T FORGET: What causes vignette to use threshold = 1000? #11

Closed HenrikBengtsson closed 6 years ago

HenrikBengtsson commented 6 years ago

The vignette reports:

Memory allocations (>= 1000 bytes):
[...]

Where is that that 1000 threshold coming from?

HenrikBengtsson commented 6 years ago

It's on purpose to clean out spurious, small internal allocations.

Turn it into an option profmem.threshold controlling the default.