Closed konstin closed 1 year ago
Currently, the crate we don't have permission to publish is jemallocator-global. So if you need it, then you have to use tikv-jemallocator-global and then all the dependencies will go to tikv-xxx. If you don't need it, choose whichever you like.
I was also confused by this situation. See https://github.com/nnethercote/perf-book/issues/67 for the details.
I recommend changing the README to clarify things, as @konstin suggested. In fact, until you have permission to publish every jemalloc crate, I would recommend suggesting tikv-jemalloc everywhere, because that's easier to understand.
The readme says:
To me, this reads like "use
jemallocator
overtikv-jemallocator
" (maybe incorrectly so!), but if i further, it tells me to usetikv-jemallocator = "0.5"
. We've discussed in the team and we're confused if we're using the correct crate. Would it be possible to disambiguate the readme paragraph further to make it easier to follow what current best practice is?