aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/valarray.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-09-17 18:12:17 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-09-18 00:09:30 -0700
commitc970dbdfeca60de227bba53b155c8374ae90f919 (patch)
tree5e5a06f78fdb339d98af490b348759575d9c8b52 /lib/libcxx/src/valarray.cpp
parent48e2ba3b3c1e224b59e3c97ed462ac88df4d8a4b (diff)
downloadzig-c970dbdfeca60de227bba53b155c8374ae90f919.tar.gz
zig-c970dbdfeca60de227bba53b155c8374ae90f919.zip
LLVM: cache LLVM struct field indexes
This is an optimization to avoid O(N) field index lookups. It's also nicer in terms of DRY; the only tradeoff is memory usage.
Diffstat (limited to 'lib/libcxx/src/valarray.cpp')
0 files changed, 0 insertions, 0 deletions