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

Constexpr buffers and arithmetic types #54

Open
nebkat opened this issue Jun 21, 2024 · 0 comments
Open

Constexpr buffers and arithmetic types #54

nebkat opened this issue Jun 21, 2024 · 0 comments

Comments

@nebkat
Copy link

nebkat commented Jun 21, 2024

Constexpr std::copy could possibly be used instead of std::memcpy, which I believe was the only thing preventing full constexpr types last time I tried.

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant