Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sectorized lists #664

Open
Konard opened this issue Mar 10, 2023 · 0 comments
Open

Sectorized lists #664

Konard opened this issue Mar 10, 2023 · 0 comments

Comments

@Konard
Copy link
Owner

Konard commented Mar 10, 2023

We can have an array of sectors, each sector starts with 0 address, meaning it is empty.
If we have non-empty sector, we can go to that place in other file, and get a block that contains a page of data that represents array, and a pointer to the next sector.
This way we can get store lists each of element of with is system page sized array.
This way, we easily solve managing variable length of arrays and store them in one big heap.
Possibly as we use arrays and linked lists this will allow us to use it in conjunction with lock free synchronization for multiple threads access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant