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

Heap defragmenting #453

Closed
attipaci opened this issue Jun 20, 2023 · 0 comments · Fixed by #442
Closed

Heap defragmenting #453

attipaci opened this issue Jun 20, 2023 · 0 comments · Fixed by #442
Assignees
Labels
enhancement A new feature and/or an improved capability
Milestone

Comments

@attipaci
Copy link
Collaborator

attipaci commented Jun 20, 2023

FITS Binary tables store variable-length data on a heap, recording only heap pointers (location and size) in the main table. Because of that, heaps can get bloated if data is changed (e.g. by leaving some or all of old data on the heap that is no longer referenced). And, depending on the order that tables were build (e.g. column-by-column), the heap might not be optimized for reading e.g. row-by-row.
Thus, it is desirable to add a way to rebuild (defragment) the heap before writing binary tables to an output to avoid bloating and to optimized heap structure.

Support for heap defragmenting is added in PR #442

@attipaci attipaci added the enhancement A new feature and/or an improved capability label Jun 20, 2023
@attipaci attipaci added this to the 1.18.0 milestone Jun 20, 2023
@attipaci attipaci self-assigned this Jun 20, 2023
@attipaci attipaci linked a pull request Jun 20, 2023 that will close this issue
@attipaci attipaci pinned this issue Jun 29, 2023
@attipaci attipaci unpinned this issue Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature and/or an improved capability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant