optin.performance.Padding

This commit is contained in:
gtsoul-tech 2024-05-27 15:41:57 +03:00
parent c837925087
commit aa6acaec84
2 changed files with 5 additions and 7 deletions

View File

@ -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_){};

View File

@ -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;
}; };