Re: NULL for default tag close?
27 Oct
2009
27 Oct
'09
10:14 p.m.
On Tue, Oct 27, 2009 at 05:09:37PM +0000, corvid wrote:
Would it be all right if I changed the default_close()s to NULL? I think it makes Tags[] easier to read,
I'd prefer it as is for the same reason! :-)
and testing for NULL would mean less time calling an empty function anyway...
I'd be surprised if the gain is more than 0.1%. BTW, today in one part of the DPIP code I found that avoiding thousands of read() calls made no noticeable difference. With write() it was a different story though. Most probably gcc optimizes out empty functions too. -- Cheers Jorge.-
5498
Age (days ago)
5498
Last active (days ago)
0 comments
1 participants
participants (1)
-
jcid@dillo.org