Skip to content

Implement growable file allocation and management in nanots#6

Merged
dicroce merged 1 commit into
mainfrom
growth
May 24, 2026
Merged

Implement growable file allocation and management in nanots#6
dicroce merged 1 commit into
mainfrom
growth

Conversation

@dicroce
Copy link
Copy Markdown
Owner

@dicroce dicroce commented May 24, 2026

  • Added allocate_growable method to nanots_writer for creating growable database files.
  • Introduced _grow_blocks method to handle dynamic block allocation in growable mode.
  • Updated existing methods to support growable files, including changes to block retrieval logic.
  • Enhanced error handling for block allocation failures.
  • Created new examples in Go and Rust demonstrating the usage of growable files.
  • Added Python bindings for growable file allocation and corresponding tests.
  • Implemented unit tests to validate growable file functionality, including basic growth, doubling behavior, and maximum capacity enforcement.

- Added `allocate_growable` method to `nanots_writer` for creating growable database files.
- Introduced `_grow_blocks` method to handle dynamic block allocation in growable mode.
- Updated existing methods to support growable files, including changes to block retrieval logic.
- Enhanced error handling for block allocation failures.
- Created new examples in Go and Rust demonstrating the usage of growable files.
- Added Python bindings for growable file allocation and corresponding tests.
- Implemented unit tests to validate growable file functionality, including basic growth, doubling behavior, and maximum capacity enforcement.
@dicroce dicroce merged commit 9d0e1d5 into main May 24, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant