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

Eliminated heap #4

Merged
merged 10 commits into from
Aug 26, 2024
Merged

Eliminated heap #4

merged 10 commits into from
Aug 26, 2024

Conversation

serges147
Copy link
Collaborator

@serges147 serges147 commented Aug 23, 2024

  • Events now stay on stack; move construct-able.

Note that events are not (yet) move assignable - possible to address, but will see do we need it actually. Implementation of such feature will make current design a bit more complex (b/c lambdas are not move assignable as soon as there is non-empty capture list (it does not matter, by value, by reference, or even dummy [&] without actual referencing of anything) - only explicitly empty [] guarantees that lambda is move assignable.

@serges147 serges147 self-assigned this Aug 23, 2024
@serges147 serges147 marked this pull request as ready for review August 24, 2024 14:22
Copy link
Member

@pavel-kirienko pavel-kirienko left a comment

Choose a reason for hiding this comment

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

The readme should mention that cavl.hpp is the only required dependency.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should call this file include/olg_scheduler/olg_scheduler.hpp then? I am pretty confident this little library is going to stay single-header only.

@@ -18,12 +18,12 @@
#pragma once

#include <cavl/cavl.hpp>
Copy link
Member

Choose a reason for hiding this comment

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

The idiomatic inclusion pattern for cavl is just cavl.hpp. The current form will break if the user decided to submodule the cavl repo. The include path settings will need to be adjusted.

Suggested change
#include <cavl/cavl.hpp>
#include <cavl.hpp>

@pavel-kirienko
Copy link
Member

Please transfer the repository to Zubax afterward.

@serges147 serges147 merged commit b85e1e7 into master Aug 26, 2024
14 checks passed
@pavel-kirienko pavel-kirienko deleted the sshirokov/no_heap branch August 30, 2024 22:25
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.

2 participants