about summary refs log tree commit diff
path: root/tests/codegen-llvm/patchable-function-entry
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2021-03-05 11:20:31 -0700
committerMichael Howell <michael@notriddle.com>2021-03-05 11:20:31 -0700
commit0571bc42637a9f07c4efe7669c48898d6cc8e25e (patch)
treeb127516148f59878a62e865a6f6fee3fc613ffd2 /tests/codegen-llvm/patchable-function-entry
parent8fd946c63a6c3aae9788bd459d278cb2efa77099 (diff)
Use substrings instead of split to grab enum variant paths
Both versions are about equally readable, but this version avoids scanning
the entire path and building an intermediate array (`split()` in Rust is
a lazy iterator, but not in JavaScript).
Diffstat (limited to 'tests/codegen-llvm/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions