SmoothieMap

Map implementation with low footprint and no latency spikes

License

License

GroupId

GroupId

io.timeandspace
ArtifactId

ArtifactId

smoothie-map
Last Version

Last Version

2.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

SmoothieMap
Map implementation with low footprint and no latency spikes
Project URL

Project URL

https://github.com/TimeAndSpaceIO/SmoothieMap
Source Code Management

Source Code Management

https://github.com/TimeAndSpaceIO/SmoothieMap

Download smoothie-map

How to add to project

<!-- https://jarcasting.com/artifacts/io.timeandspace/smoothie-map/ -->
<dependency>
    <groupId>io.timeandspace</groupId>
    <artifactId>smoothie-map</artifactId>
    <version>2.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.timeandspace/smoothie-map/
implementation 'io.timeandspace:smoothie-map:2.0.2'
// https://jarcasting.com/artifacts/io.timeandspace/smoothie-map/
implementation ("io.timeandspace:smoothie-map:2.0.2")
'io.timeandspace:smoothie-map:jar:2.0.2'
<dependency org="io.timeandspace" name="smoothie-map" rev="2.0.2">
  <artifact name="smoothie-map" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.timeandspace', module='smoothie-map', version='2.0.2')
)
libraryDependencies += "io.timeandspace" % "smoothie-map" % "2.0.2"
[io.timeandspace/smoothie-map "2.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
io.timeandspace : jpsg-core jar 1.4
org.checkerframework : checker-qual jar 2.11.1

Project Modules

There are no modules declared in this project.

SmoothieMap

Maven Central Build Status

SmoothieMap is a Map implementation for Java with the lowest memory usage and absence of rehash latency spikes. Under the hood, it is a version of extendible hashing with 48-slot mini segments.

This project also includes a proof-of-concept implementation of SwissTable algorithm in Java: see SwissTable.java.

See this post for a more detailed introduction, performance and memory comparisons, etc.

Usage

Maven:

<dependency>
  <groupId>io.timeandspace</groupId>
  <artifactId>smoothie-map</artifactId>
  <version>2.0.2</version>
</dependency>

Then, in Java:

Map<String, String> myMap = SmoothieMap.<String, String>newBuilder().build();

See Javadocs.

io.timeandspace

Versions

Version
2.0.2
2.0.1
2.0