commit | 9db3beb721bc472211220576a3ae7957fba21e18 | [log] [tgz] |
---|---|---|
author | Garret Rieger <grieger@google.com> | Mon Jul 25 19:42:58 2022 +0000 |
committer | Garret Rieger <grieger@google.com> | Tue Jul 26 12:22:17 2022 -0600 |
tree | ce6ceabaf85338c8bb331d570abdce7283a039b0 | |
parent | e0607af9769d7f3727a1fe6bfe20671ad9fb216a [diff] [blame] |
[repacker] include LookupList size when calculating size of 16bit space for ext promotion decisions.
diff --git a/src/graph/graph.hh b/src/graph/graph.hh index df845da..5c5b5a4 100644 --- a/src/graph/graph.hh +++ b/src/graph/graph.hh
@@ -111,6 +111,10 @@ return priority >= 3; } + size_t table_size () const { + return obj.tail - obj.head; + } + int64_t modified_distance (unsigned order) const { // TODO(garretrieger): once priority is high enough, should try