-
Notifications
You must be signed in to change notification settings - Fork 50
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
Constexpr buffers and arithmetic types #54
Comments
Julien-Blanc-tgcm
added a commit
to Julien-Blanc-tgcm/endian
that referenced
this issue
Sep 9, 2024
* allows several operations on buffer types to be constexpr * ensure old execution path is still used at runtime, to avoid any performance regression Signed-off-by: Julien Blanc <[email protected]>
Julien-Blanc-tgcm
added a commit
to Julien-Blanc-tgcm/endian
that referenced
this issue
Sep 9, 2024
* allows several operations on buffer types to be constexpr * ensure old execution path is still used at runtime, to avoid any performance regression Signed-off-by: Julien Blanc <[email protected]>
Julien-Blanc-tgcm
added a commit
to Julien-Blanc-tgcm/endian
that referenced
this issue
Sep 9, 2024
* allows several operations on buffer types to be constexpr * ensure old execution path is still used at runtime, to avoid any performance regression Signed-off-by: Julien Blanc <[email protected]>
Julien-Blanc-tgcm
added a commit
to Julien-Blanc-tgcm/endian
that referenced
this issue
Sep 9, 2024
* allows several operations on buffer types to be constexpr * ensure old execution path is still used at runtime, to avoid any performance regression Signed-off-by: Julien Blanc <[email protected]>
Julien-Blanc-tgcm
added a commit
to Julien-Blanc-tgcm/endian
that referenced
this issue
Sep 11, 2024
* allows several operations on buffer types to be constexpr * ensure old execution path is still used at runtime, to avoid any performance regression Signed-off-by: Julien Blanc <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Constexpr
std::copy
could possibly be used instead ofstd::memcpy
, which I believe was the only thing preventing full constexpr types last time I tried.The text was updated successfully, but these errors were encountered: