in reply to comparison between system operators and Built in function

Benchmark, specifically cmpthese().

Also, opendir and open don't do the same thing. You sure you're not prematurely optimizing?


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: comparison between system operators and Built in function

Replies are listed 'Best First'.
Re^2: comparison between system operators and Built in function
by blazar (Canon) on Jan 19, 2006 at 09:05 UTC

    Benchmarking issues apart, not only opendir and open don't do the same thing: more precisely the OP gives two lists of items presenting them, for some strange reason, as "examples system operators" and "built in functions" respectively. But no item from the first one is equivalent to any of the second one for any reasonable acceptation of "equivalent"!

    Also, all of those items represent a built in functions with that name, that actually do system calls. So I really don't know what he may have in mind, but I wonder how he could even cmpthese() stuff that bears no resemblance to each other. Maybe he's not (yet) prematurely optimizing, but he seems definitely to be concerned about premature optimization, which we all know, is Bad(TM).