[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible improvement of CSM_CommonData
For large messages, it is a waste of memory to first create a CSM_Buffer
call CSM_CommonData::SetEncapContent. The solution to this problem is a
like SetEncapContent(char *pEncapContent, long length, long type) and have
appropriate constructor for CSM_Content.
This improvement may be useful at other points too.
Any comment would be greatly appreciated.