Premature optimization
Witold Filipczyk <[email protected]> Wed, 21 May 2008 19:44:57 +0200
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <20080521174457.GA21001@pldmachine> |
I read in the zziplib docs that a conditional call is ten times slower than an uncoditional one. Is it true? In src/document/html/parser/parse.c (start_element, end_element) there are: if (ei->open) ei->open() and if (ei->close) ei->close() Wouldn't be ELinks faster and simpler if all (close and open) functions be defined? -- Witek