RE: Possible improvement of CSM_CommonData
"Colestock, Robert" <[email protected]> Tue, 26 Mar 2002 11:54:11 -0500
| Newsgroups | gmane.ietf.sfl |
|---|---|
| Message-ID | <[email protected]> |
Manfred: Good suggestion. I have added this logic to the baseline, it will be available in the next release. If you want it now, I will have to snap-shot the entire baseline for you due to other changes we have been making. (I could try sending you just these sources if you are interested, sm_api.h, sm_Content.cpp, sm_CommonData.cpp). Bob Colestock -----Original Message----- From: Manfred Klug [mailto:[email protected]] Sent: Saturday, March 23, 2002 3:13 AM To: [email protected] Subject: Possible improvement of CSM_CommonData 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