Dipterix Wang

Results 122 comments of Dipterix Wang

For example, in my case, if there are multiple instances linking to a shared file, you probably want to register a [shared finalizer](https://dipterix.github.io/dipsaus/reference/shared_finalizer.html) that only runs once all the registered...

Thanks for answering my question. > Is the hash digest the same? In general it should be. Is this the case for `sha-256`? Thanks

@hliebert I remember the conversation (issue) was `shrtcts` dynamically change its package content in order to store and execute shortcut commands, but CRAN explicitly disallow it in the CRAN policy....

Indeed. Maybe store shortcuts with the login usernames?

Minor update: I can find memory leak with: * Mac M1/M2, R-ARM 4.2.1 * Intel Ubuntu 20.04.4 LTS, R 4.2.0 (docker container, host is intel Mac pro cheese shredder V1)...

My `valgrind` report is similar to yours: `pthread_create@...`. Basically some pthreads not joined nor detached. Just in case of confusion, the code uses `ravetools` package on CRAN. This package does...

> Using the example at [gallery.rcpp.org/articles/parallel-matrix-transform](https://gallery.rcpp.org/articles/parallel-matrix-transform/), I can also see memory usage slowly but steadily rise, but strangely the macOS Instruments leak detector doesn't report any leaks... This is also...

Alright, I rewind changes on Windows, so now the patch should no longer leak memory with tinyThread. (TBB may still get leaked. Haven't touched any code yet) The pull request...

@eddelbuettel I understand your concern, and RcppParallel has existed for long time and lots of packages are depending on it. It's better to be conservative when making fundamental changes.

Tl;DR: For those who tracked this far. The memory leak in RcppParallel happens only in certain OSX and Linux. Windows users are not going to observe it. If you are...