File tree Expand file tree Collapse file tree
internal-api/src/jmh/java/datadog/trace/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 * immutable-map baseline, not {@code HashMap}.
3535 *
3636 * <p>Also compared: {@link StringIndex} used as a string->int map — an open-addressed index plus
37- * a slot-aligned {@code int[]} of values ({@code SI_VALUES[indexOf(key)]}). {@code stringIndex_get*}
38- * goes through the instance wrapper; {@code support_get*} reads via {@code static final} arrays (the
39- * JIT folds the refs). No {@code iterate} arm — StringIndex is a lookup index, not an iteration
40- * structure; its map use case is the {@code indexOf}->parallel-array read.
37+ * a slot-aligned {@code int[]} of values ({@code SI_VALUES[indexOf(key)]}). {@code
38+ * stringIndex_get*} goes through the instance wrapper; {@code support_get*} reads via {@code static
39+ * final} arrays (the JIT folds the refs). No {@code iterate} arm — StringIndex is a lookup index,
40+ * not an iteration structure; its map use case is the {@code indexOf}->parallel-array read.
4141 *
4242 * <p>Lookups use {@code EQUAL_KEYS} (distinct String instances) to exercise {@code equals()};
4343 * {@code *_sameKey} variants reuse the original interned key instances to show the identity fast
You can’t perform that action at this time.
0 commit comments