commit | b059ae85c83ca6b1f29dba20e92e4acb85cb5b29 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Fri Mar 10 06:41:21 2023 -0800 |
committer | Paul Wankadia <junyer@google.com> | Fri Mar 10 15:04:01 2023 +0000 |
tree | 18dd4dafa2ce3e7b9fe098dc05ae9efc8358d951 | |
parent | f0402c0397cd4cfba17203abd5b617558316af0c [diff] |
Move inst_ out of the blob of memory for a State. inst_ is stored separately since it's colder; this also means that the States for a given DFA are the same size class, so the allocator can hopefully pack them better. Change-Id: Ia447bcaf508c507944cd35d2dd8ac4c7a845c3ef Reviewed-on: https://code-review.googlesource.com/c/re2/+/61110 Reviewed-by: Perry Lorier <perryl@google.com> Reviewed-by: Paul Wankadia <junyer@google.com>