mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
optin.performance.Padding
This commit is contained in:
parent
c837925087
commit
aa6acaec84
@ -41,8 +41,12 @@
|
|||||||
|
|
||||||
class MicroBenchmark {
|
class MicroBenchmark {
|
||||||
public:
|
public:
|
||||||
|
struct hs_scratch scratch{};
|
||||||
char const *label;
|
char const *label;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
std::vector<u8> buf;
|
||||||
|
ue2::bytecode_ptr<noodTable> nt;
|
||||||
|
ue2::CharReach chars;
|
||||||
|
|
||||||
// Shufti/Truffle
|
// Shufti/Truffle
|
||||||
union {
|
union {
|
||||||
@ -57,12 +61,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ue2::CharReach chars;
|
|
||||||
std::vector<u8> buf;
|
|
||||||
|
|
||||||
// Noodle
|
|
||||||
struct hs_scratch scratch{};
|
|
||||||
ue2::bytecode_ptr<noodTable> nt;
|
|
||||||
|
|
||||||
MicroBenchmark(char const *label_, size_t size_)
|
MicroBenchmark(char const *label_, size_t size_)
|
||||||
: label(label_), size(size_), buf(size_){};
|
: label(label_), size(size_), buf(size_){};
|
||||||
|
@ -40,9 +40,9 @@ union RoseLookaroundMask32 {
|
|||||||
|
|
||||||
struct ValidateMask32TestInfo {
|
struct ValidateMask32TestInfo {
|
||||||
RoseLookaroundMask32 data;
|
RoseLookaroundMask32 data;
|
||||||
u32 valid_mask;
|
|
||||||
RoseLookaroundMask32 and_mask;
|
RoseLookaroundMask32 and_mask;
|
||||||
RoseLookaroundMask32 cmp_mask;
|
RoseLookaroundMask32 cmp_mask;
|
||||||
|
u32 valid_mask;
|
||||||
u32 neg_mask;
|
u32 neg_mask;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user