Skip to content

Commit 767af3d

Browse files
dougqhclaude
andcommitted
spotless: reflow grafted StringIndex Javadoc in ImmutableMapBenchmark
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 63fe111 commit 767af3d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

internal-api/src/jmh/java/datadog/trace/util/ImmutableMapBenchmark.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
* immutable-map baseline, not {@code HashMap}.
3535
*
3636
* <p>Also compared: {@link StringIndex} used as a string-&gt;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}-&gt;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}-&gt;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

0 commit comments

Comments
 (0)