mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 00:02:24 +03:00
Rose: use program for all literal matches
Unifies all literal match paths so that the Rose program is used for all of them. This removes the previous specialised "direct report" and "multi direct report" paths. Some additional REPORT instruction work was necessary for this. Reworked literal construction path at compile time in prep for using program offsets as literal IDs. Completely removed the anchored log runtime, which is no longer worth the extra complexity.
This commit is contained in:
committed by
Matthew Barr
parent
b58d05dfec
commit
67b9784dae
@@ -56,12 +56,6 @@ void dumpScratch(const struct hs_scratch *s, FILE *f) {
|
||||
fprintf(f, " bStateSize : %u bytes\n", s->bStateSize);
|
||||
fprintf(f, " active queue array : %u bytes\n",
|
||||
mmbit_size(s->queueCount));
|
||||
|
||||
size_t anchored_region_size =
|
||||
s->anchored_region_len * mmbit_size(s->anchored_region_width) +
|
||||
sizeof(u8 *) + mmbit_size(s->anchored_region_len);
|
||||
|
||||
fprintf(f, " anchored region : %zu bytes\n", anchored_region_size);
|
||||
fprintf(f, " qmpq : %zu bytes\n",
|
||||
s->queueCount * sizeof(struct queue_match));
|
||||
fprintf(f, " delay info : %u bytes\n",
|
||||
|
Reference in New Issue
Block a user