aboutsummaryrefslogtreecommitdiffstats
path: root/include/asn1_oid.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-26 16:18:41 +0000
committerlloyd <[email protected]>2008-06-26 16:18:41 +0000
commit1b4a1cd7b3e74bd3d3c34c6c89721536a6fe3a27 (patch)
tree87fd44ba4b853eb68824055bbd91b29fca646c5d /include/asn1_oid.h
parent1e2a389d850edc93be424c92211d288e3bed7be7 (diff)
The change in rev f6d0cb6f9569d228ed6a11d021c3f57f55220bde was actually
completely wrong, and it is rather disturbing I made that mistake. The poll() function will gather up to the number of bytes passed as its argument; it will do this by opening up files and reading up to 1024 bytes from each one. So we might open between 256 and 256*1024 files, depending on the sizes of them (ignoring empty files, which count for zero bytes). (Idea: also include the name of the file in the output? Is that useful?) Move the read_buf out of the loop to minimize allocator thrashing.
Diffstat (limited to 'include/asn1_oid.h')
0 files changed, 0 insertions, 0 deletions