mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
size_t const kNumBytes = 256;
|
||||
size_t constexpr kNumBytes = 256;
|
||||
|
||||
// Fake trailing '$' for the BWT, used for original string
|
||||
// reconstruction.
|
||||
uint32_t const kEOS = 256;
|
||||
uint32_t constexpr kEOS = 256;
|
||||
|
||||
// FirstColumn represents the first column in the BWT matrix. As
|
||||
// during reverse BWT we need to reconstruct canonical first column,
|
||||
|
||||
Reference in New Issue
Block a user