# std.StaticStringMap: bump eval branch quota · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/44db92d1ca90c9cfdfb29fe46f04ff8f11c80901)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 44db92d1ca90c9cfdfb29fe46f04ff8f11c80901

Requested commit: 44db92d1ca90c9cfdfb29fe46f04ff8f11c80901

Commit: 44db92d1ca90c9cfdfb29fe46f04ff8f11c80901

Tree: 713c0d3e47f69e9b4979c396934a5c4783f29901

Author: Travis Staloch

Committer: Andrew Kelley

## Message

```
std.StaticStringMap: bump eval branch quota

closes #19803 by changing quota from (30 * N) to (10 * N * log2(N)) where
N = kvs_list.len

* adds reported adversarial test case
* update doc comment of getLongestPrefix()

```

## Parents

- [ea9d817a905ae19dcf27db4f380270485f9e26d2](https://git.cafe/gitcafe/zig/commit/ea9d817a905ae19dcf27db4f380270485f9e26d2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/44db92d1ca90c9cfdfb29fe46f04ff8f11c80901?format=markdown)
