6 ms·
Which is why I said > frequency of data Practically, if you're moving enough data through setenv that the memory leaked versus the steady state fluctuation of
by monocasa 1y ago
Which is why I said
> frequency of data
Practically, if you're moving enough data through setenv that the memory leaked versus the steady state fluctuation of the program is at all visible, you've got much bigger problems.
- ori_b 1y agoYou don't need setenv. It's just a particularly broken way of assigning to a global char*.
- monocasa 1y agoAnd I personally don't use it or would be likely to approve a review that uses it. But it I were implementing POSIX and had to implement it, I would almost certainly make Sun's choice thinking of it as the least evil given the expected use cases.