mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-07-10 04:24:43 +03:00
rose: don't unconditionally init ll_buf etc
This is only necessary (and already always done) if there is a long literal table.
This commit is contained in:
parent
592ce06eeb
commit
b9650d4fd0
@ -551,10 +551,6 @@ void roseStreamExec(const struct RoseEngine *t, struct hs_scratch *scratch) {
|
|||||||
tctxt->minMatchOffset = offset;
|
tctxt->minMatchOffset = offset;
|
||||||
tctxt->minNonMpvMatchOffset = offset;
|
tctxt->minNonMpvMatchOffset = offset;
|
||||||
tctxt->next_mpv_offset = 0;
|
tctxt->next_mpv_offset = 0;
|
||||||
tctxt->ll_buf = scratch->core_info.hbuf;
|
|
||||||
tctxt->ll_len = scratch->core_info.hlen;
|
|
||||||
tctxt->ll_buf_nocase = scratch->core_info.hbuf;
|
|
||||||
tctxt->ll_len_nocase = scratch->core_info.hlen;
|
|
||||||
|
|
||||||
DEBUG_PRINTF("BEGIN: history len=%zu, buffer len=%zu groups=%016llx\n",
|
DEBUG_PRINTF("BEGIN: history len=%zu, buffer len=%zu groups=%016llx\n",
|
||||||
scratch->core_info.hlen, scratch->core_info.len, tctxt->groups);
|
scratch->core_info.hlen, scratch->core_info.len, tctxt->groups);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user