Sign in to follow this  

data buffers

This topic is 4658 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
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

This topic is 4658 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this