Ryan Bloom wrote: >We don't do zero-copy on input. >
We've been getting closer to zero-copy on input with recent optimizations like ap_rgetline(). We still do at least two copies of each request header. I don't know whether it's worthwhile to try to further reduce the copying, but I'll find out the next time I have a chance to look at profiler data. (Now that a lot of bigger performance problems in 2.0 have been solved, little things like this sometimes account for a large enough percentage of CPU time to be worth fixing.) --Brian