OLS: On how user space sucks
Posted Jul 21, 2006 9:21 UTC (Fri) by
nix (subscriber, #2304)
In reply to:
OLS: On how user space sucks by flewellyn
Parent article:
OLS: On how user space sucks
That one thing the C++ standard library got right, which I wish other interface designers would follow: treat the time and space complexities as *part of the interface*, document them, and *do not increase them*.
If you're not told how expensive some function call is, the only way to tell is to profile the hell out of it *on a system where n happens to be large* (so fontconfig sloth might not be obvious unless, like davej, you have many thousands of fonts), or to look deeply into the internal implementations of every function you ever use (no chance).
What this is really telling us is that we need better docs, I think.
(
Log in to post comments)