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

Run coredb without journal #2266

Merged
merged 3 commits into from
May 31, 2024
Merged

Run coredb without journal #2266

merged 3 commits into from
May 31, 2024

Conversation

mjfh
Copy link
Contributor

@mjfh mjfh commented May 31, 2024

No description provided.

@mjfh mjfh merged commit bda760f into master May 31, 2024
27 checks passed
@mjfh mjfh deleted the Run-coredb-without-journal branch May 31, 2024 17:32
return err(DeblobWrongType)
(addr lSst.src.data[0]).copyMem(unsafeAddr data[0], 32)
(addr lSst.trg.data[0]).copyMem(unsafeAddr data[32], 32)
lSst.serial = uint64.fromBytesBE data[64..72]
Copy link
Member

Choose a reason for hiding this comment

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

the [a..b] call should never be used when a view of the data is sufficient - it allocates a new temporary sequence on the heap - the correct call in cases like this is toOpenArray cc @mjfh

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.

None yet

2 participants