omalloc (was Re: Empty symlinks and full POSIX compliance)
omalloc (was Re: Empty symlinks and full POSIX compliance)
Posted May 29, 2013 12:37 UTC (Wed) by mirabilos (subscriber, #84359)Parent article: Empty symlinks and full POSIX compliance
Interestingly enough, symlinks as strings are used in BSD omalloc, where /etc/malloc.conf is a *symlink* pointing to a string that’s then parsed as system-wide malloc options (an environment variable is parsed the same way).
This is apparently cheaper than doing full file I/O, which isn’t unimportant in a malloc I’d guess.
This is apparently cheaper than doing full file I/O, which isn’t unimportant in a malloc I’d guess.
