diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 17:09:17 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 17:09:17 -0700 |
commit | 2fb94e3c4c4ade042fc1944f1bfa64609bff40b4 (patch) | |
tree | a3b649a53a0b634d3110daf2f8357d372a560841 /cpp/.traces/return_on_fallthrough | |
parent | 544a1f1e17d909673f08a50b97fc9d00df431eb4 (diff) | |
download | mu-2fb94e3c4c4ade042fc1944f1bfa64609bff40b4.tar.gz |
1166
Why did I think STL's map wasn't efficient? It has logarithmic complexity (maintains a tree internally) and is faster than hashing for small containers. It's the more portable solution and should be what I turn to by default.
Diffstat (limited to 'cpp/.traces/return_on_fallthrough')
-rw-r--r-- | cpp/.traces/return_on_fallthrough | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/.traces/return_on_fallthrough b/cpp/.traces/return_on_fallthrough index 4408c63a..d7ac00e1 100644 --- a/cpp/.traces/return_on_fallthrough +++ b/cpp/.traces/return_on_fallthrough @@ -14,14 +14,14 @@ parse/0: product: {name: "4", value: 0, type: 1, properties: ["4": "integer"]} parse/0: instruction: 1 parse/0: ingredient: {name: "34", value: 0, type: 0, properties: ["34": "literal"]} parse/0: product: {name: "5", value: 0, type: 1, properties: ["5": "integer"]} -after-brace/0: recipe f -after-brace/0: copy ... -after-brace/0: copy ... after-brace/0: recipe main after-brace/0: f ... after-brace/0: copy ... after-brace/0: copy ... after-brace/0: copy ... +after-brace/0: recipe f +after-brace/0: copy ... +after-brace/0: copy ... run/0: instruction main/0 run/0: instruction f/0 run/0: ingredient 0 is 34 |