Skip to content

storage: Use MtxCtx#481

Open
malone-at-work wants to merge 1 commit into
mainfrom
maloney/storage-preview/3
Open

storage: Use MtxCtx#481
malone-at-work wants to merge 1 commit into
mainfrom
maloney/storage-preview/3

Conversation

@malone-at-work

Copy link
Copy Markdown
Member

It is strongly typed and is passed as const in hooks that don't start or commit the MtrCtx.

@malone-at-work malone-at-work force-pushed the maloney/storage-preview/2 branch 2 times, most recently from 2bbcb97 to 93e0be9 Compare May 12, 2026 19:38
Base automatically changed from maloney/storage-preview/2 to main May 12, 2026 19:55
@malone-at-work malone-at-work force-pushed the maloney/storage-preview/3 branch from 3f67159 to f572d06 Compare May 12, 2026 20:23
@malone-at-work malone-at-work requested review from villagedeb and removed request for dbentley-vsql May 14, 2026 14:47

alignas(std::max_align_t) unsigned char m_buf[MAX_STACK_SIZE];
unsigned char *m_heap_buf = nullptr;
size_t m_heap_size = 0;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note: for a borrowed MTR context, the 1.5 KB stack allocation would effectively go unused, though I don't see any major concern with it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right - I meant to make that optional, but I did not. I will clean this up after 0.0.4.

@malone-at-work malone-at-work added the Waiting next release PR is blocked waiting for the release label May 15, 2026
@villagestevers villagestevers removed the Waiting next release PR is blocked waiting for the release label May 30, 2026
It is strongly typed and is passed as const in hooks that don't start or commit Mtx.
@malone-at-work malone-at-work force-pushed the maloney/storage-preview/3 branch from f572d06 to 7821f9f Compare June 1, 2026 14:28
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.

3 participants