forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved implementation to new file, full bitrange of hugeint can be com…
…pressed
- Loading branch information
1 parent
81aff9d
commit 05a5951
Showing
6 changed files
with
401 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//===----------------------------------------------------------------------===// | ||
// DuckDB | ||
// | ||
// duckdb/common/bitpacking_hugeint.hpp | ||
// | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#pragma once | ||
|
||
#include "duckdb/common/bitpacking.hpp" | ||
|
||
namespace duckdb { | ||
|
||
struct HugeIntPacker { | ||
static void Pack(const hugeint_t *__restrict in, uint32_t *__restrict out, bitpacking_width_t width); | ||
static void Unpack(const uint32_t *__restrict in, hugeint_t *__restrict out, bitpacking_width_t width); | ||
}; | ||
|
||
|
||
} // namespace hugeint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.