4 ms·
If you're generating new CAs in such volume that the (in)efficiency of a UNIX pipe becomes a problem, you should just stop right there. That should be a red fl
by hapless 16y ago
If you're generating new CAs in such volume that the (in)efficiency of a UNIX pipe becomes a problem, you should just stop right there. That should be a red flag.
- FooBarWidget 16y agoIt's not the pipes, it's fork() and exec() and re-main()-initialization. Try doing that a few ten thousand times and see how long it takes compare to doing everything in-process where you only initialize once.
- CGamesPlay 16y agoThe entire internet gets by on a few hundred CAs. If you are generating so many CAs, you are doing something wrong. Performance is a misdirected concern, here. Error-handling and reliability are better reasons to use the API over the tool.
- ciupicri 16y agoWhile I'm not a fan of premature optimization, I don't see nothing wrong here even if I like the Unix philosophy of "Write programs that do one thing and do it well". Why run an external program when the same thing should be possible by calling functions from a (well written) library?