Overview
| Artifact ID: | 70157a2a0cbcf5d2c437d817bc7ee895f39b9cdb |
|---|---|
| Ticket: | 1530262fffffffffffffffffffffffffffffffff
Minor optimisation to BinaryProc |
| User & Date: | afredd on 2006-07-28 09:54:33 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Replacing the for loop in BinaryProc (which is used to copy characters from one buffer to another) with a memcpy provides a minor speed up. Justication: BinaryProc is often used on channelBuffer's ie. srcLen is often 4096, and memcpy is much quicker than a for loop in such cases (i measure it at about 10x). It seems like a memcpy() is faster that a for loop whenever more than ~16 characters are copied, which is probably the most common case in calls to BinaryProc.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "afredd"
- subsystem changed to: "None"
- title changed to: "Minor optimisation to BinaryProc"
- type changed to: "Patch"