Results 395 comments of Luca Bruno

I'm also coming from the [jemalloc-profiling](https://github.com/jemalloc/jemalloc/wiki/Use-Case%3A-Heap-Profiling) world and would love to have some way to observe mimalloc allocation patterns under real-world workloads in production environments. This is a somehow common...

I was looking a bit more into the memory usage of this library, and I have an additional sidenote that I'll leave here. Other than the well-known lazy-statics, it looks...

Rebased, PTAL. In this iteration: * split gethostname test to its own commit * changed gethostname and getdomainname to allocate their own buffer * added emscripten, reported https://github.com/rust-lang/libc/issues/868 for BSDs...

This got stale due to lack of time on my side, but I'll eventually get back to this (just not high priority at the moment). In the meanwhile, @gnzlbg is...

Rebased to take care of BSD and Apple, PTAL.

@Susurrus I adjusted and documented `POSIX_HOST_NAME_MAX` as suggested, PTAL.

Gentle ping for a review.

@Susurrus yes but I need to figure out the story with `HOST_NAME_MAX` Linux and POSIX, and forward to libc.

So, the full story is as follows. Host names returned by `gethostname()` are [limited](http://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html) to `HOST_NAME_MAX` bytes (not including the terminating null), which is defined by each OS. According to...

Travis is red due to android missing POSIX constants in libc crate, see https://github.com/rust-lang/libc/pull/990.