MCPcopy Index your code
hub / github.com/carrotsearch/hppc

github.com/carrotsearch/hppc @0.10.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.10.0 ↗ · + Follow
1,212 symbols 4,855 edges 128 files 414 documented · 34% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HPPC: High Performance Primitive Collections

Collections of primitive types (maps, sets, stacks, lists) with open internals and an API twist (no java.util.collections.* compatibility).

See the following for more information: * Wiki: https://github.com/carrotsearch/hppc/wiki * Bugs (github): https://github.com/carrotsearch/hppc/issues

See ALTERNATIVES.txt if you're just shopping around.

See LICENSE.txt to make your company's lawyer happy.

See CHANGES.txt for API changes and updates.

(c) Carrot Search s.c. (and contributors), https://carrotsearch.com/

Extension points exported contracts — how you extend this code

EqualityFunction (Interface)
Anything that implements value-equality function as replaced by the #equals intrinsic. Not a public interfac [11 implementers]
hppc-template-intrinsics/src/main/java/com/carrotsearch/hppc/Intrinsics.java
Preallocable (Interface)
Anything that can preallocate buffers given prior knowledge of the number of stored elements. [9 implementers]
hppc/src/main/java/com/carrotsearch/hppc/Preallocable.java
IntrinsicMethod (Interface)
Intrinsic method invocation. [8 implementers]
hppc-template-processor/src/main/java/com/carrotsearch/hppc/generator/IntrinsicMethod.java
IntSetOps (Interface)
(no doc) [8 implementers]
hppc-benchmarks/src/jmh/java/com/carrotsearch/hppc/benchmarks/IntSetOps.java
KeyHasher (Interface)
Anything that distributes keys by their hash value. Not a public interface because we want the implementing methods [5 …
hppc-template-intrinsics/src/main/java/com/carrotsearch/hppc/Intrinsics.java
Accountable (Interface)
Anything that could be accounted for memory usage Partly forked from Lucene tag releases/lucene-solr/8.5.1 [18 implementers]
hppc/src/main/java/com/carrotsearch/hppc/Accountable.java
IntIntMapOps (Interface)
(no doc) [8 implementers]
hppc-benchmarks/src/jmh/java/com/carrotsearch/hppc/benchmarks/IntIntMapOps.java
ArraySizingStrategy (Interface)
Resizing (growth) strategy for array-backed buffers. [5 implementers]
hppc/src/main/java/com/carrotsearch/hppc/ArraySizingStrategy.java

Core symbols most depended-on inside this repo

size
called by 213
hppc/src/main/templates/com/carrotsearch/hppc/KTypeContainer.java
put
called by 185
hppc/src/main/templates/com/carrotsearch/hppc/KTypeVTypeMap.java
toArray
called by 118
hppc/src/main/templates/com/carrotsearch/hppc/KTypeContainer.java
add
called by 118
hppc/src/main/templates/com/carrotsearch/hppc/KTypeSet.java
cast
called by 114
hppc-template-intrinsics/src/main/java/com/carrotsearch/hppc/Intrinsics.java
empty
called by 108
hppc-template-intrinsics/src/main/java/com/carrotsearch/hppc/Intrinsics.java
get
called by 86
hppc/src/main/templates/com/carrotsearch/hppc/KTypeVTypeMap.java
isEmpty
called by 60
hppc-template-intrinsics/src/main/java/com/carrotsearch/hppc/Intrinsics.java

Shape

Method 1,047
Class 134
Interface 27
Enum 4

Languages

Java100%

Modules by API surface

hppc/src/main/templates/com/carrotsearch/hppc/KTypeVTypeHashMap.java69 symbols
hppc/src/main/templates/com/carrotsearch/hppc/SortedIterationKTypeVTypeHashMap.java55 symbols
hppc/src/test/templates/com/carrotsearch/hppc/KTypeArrayListTest.java51 symbols
hppc/src/test/templates/com/carrotsearch/hppc/KTypeVTypeHashMapTest.java48 symbols
hppc/src/main/java/com/carrotsearch/hppc/BitSet.java47 symbols
hppc/src/test/templates/com/carrotsearch/hppc/KTypeArrayDequeTest.java43 symbols
hppc/src/main/templates/com/carrotsearch/hppc/KTypeArrayList.java40 symbols
hppc/src/main/templates/com/carrotsearch/hppc/KTypeHashSet.java39 symbols
hppc/src/main/templates/com/carrotsearch/hppc/KTypeArrayDeque.java39 symbols
hppc/src/main/templates/com/carrotsearch/hppc/KTypePgmIndex.java38 symbols
hppc/src/test/templates/com/carrotsearch/hppc/KTypeHashSetTest.java35 symbols
hppc/src/main/java/com/carrotsearch/hppc/PlaModel.java31 symbols

For agents

$ claude mcp add hppc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact