mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
fdr/teddy: remove padding from structures
This commit is contained in:
parent
71bd1c8dfe
commit
2b9b2ca911
@ -71,18 +71,15 @@ struct FDR {
|
|||||||
u32 maxStringLen;
|
u32 maxStringLen;
|
||||||
u32 confOffset;
|
u32 confOffset;
|
||||||
u32 floodOffset;
|
u32 floodOffset;
|
||||||
|
u8 stride; /* stride - how frequently the data is consulted by the first
|
||||||
u8 stride; /* stride - how frequeuntly the data is consulted by the first
|
|
||||||
* stage matcher */
|
* stage matcher */
|
||||||
u8 domain; /* number of bits used to index into main FDR table. This value
|
u8 domain; /* number of bits used to index into main FDR table. This value
|
||||||
* is used only of debugging/asserts. */
|
* is used only of debugging/asserts. */
|
||||||
u16 domainMask; /* pre-computed domain mask */
|
u16 domainMask; /* pre-computed domain mask */
|
||||||
u32 tabSize; /* pre-computed hashtable size in bytes */
|
u32 tabSize; /* pre-computed hashtable size in bytes */
|
||||||
u32 pad;
|
m128 start; /* initial start state to use at offset 0. The state has been
|
||||||
|
* set up based on the min length of buckets to reduce the need
|
||||||
m128 start; /* initial start state to use at offset 0. The state has been set
|
* for pointless confirms. */
|
||||||
* up based on the min length of buckets to reduce the need for
|
|
||||||
* pointless confirms. */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** \brief FDR runtime arguments.
|
/** \brief FDR runtime arguments.
|
||||||
|
@ -38,10 +38,6 @@ struct Teddy {
|
|||||||
u32 maxStringLen;
|
u32 maxStringLen;
|
||||||
u32 confOffset;
|
u32 confOffset;
|
||||||
u32 floodOffset;
|
u32 floodOffset;
|
||||||
u32 link;
|
|
||||||
u32 pad1;
|
|
||||||
u32 pad2;
|
|
||||||
u32 pad3;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user