• Advertisement
Sign in to follow this  

data buffers

This topic is 4731 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi What kind of data buffers techniques exist. I have at the moment two. The first is a simple one data block linear buffer which i call buffer, and the second buffer is called PageBuffer. Instead of only one datablock it uses many blocks connected throught pointers (linked list) and i call them pages. PageBuffer reuses the pages when it’s free again after usage by moving it last in the linked list and resetting get_offset and add_offset. One other possible buffer is a circular one datablock buffer. PageBuffer is sometimes named abstract buffer or customarray

Share this post


Link to post
Share on other sites
Advertisement
Another useful data structure is a map, which internally is based on the linked list.

Kuphryn

Share this post


Link to post
Share on other sites
Quote:
Original post by kuphryn
Another useful data structure is a map, which internally is based on the linked list.

Kuphryn


Can you explane more about this data buffer, how is it a good databuffer?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement