Possible improvement of CSM_CommonData
"Manfred Klug" <[email protected]> Sat, 23 Mar 2002 09:13:17 +0100
| Newsgroups | gmane.ietf.sfl |
|---|---|
| Message-ID | <[email protected]> |
For large messages, it is a waste of memory to first create a CSM_Buffer only to call CSM_CommonData::SetEncapContent. The solution to this problem is a function like SetEncapContent(char *pEncapContent, long length, long type) and have an appropriate constructor for CSM_Content. This improvement may be useful at other points too. Any comment would be greatly appreciated. Manfred Klug