Menu

#5 Internal management of DataChunk

open
5
2007-11-15
2007-11-15
No

Appending data to a DataChunk can be very expensive, due to the complete copy of existent m_data to a new expanded memory area.
This can be avoided implementing a system of internal pointers to real data (similar to a linked list): in this way, appending an object is simple as appending its pointer to a list.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB