You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contain persistent(immutable) collections/Functional Data Structures 📌
vavr ❤️ , VΛVΓ (Vavr, formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.
sophisticated FP Languages ❤️ have built-in Persistent Collections support 📌
Scala ❤️ , Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.
Clojure ❤️ , Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language, yet remains completely dynamic – every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.
fastutil ❤️ , fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues with a small memory footprint and fast access and insertion; provides also big (64-bit) arrays, sets and lists, and fast, practical I/O classes for binary and text files.
hppc, HPPC provides template-generated implementations of typical collections, such as lists, sets and maps, for all Java primitive types. The primary driving force behind HPPC is optimization for highest performance and memory efficiency.
JCTools ❤️ , offer some concurrent data structures currently missing from the JDK. JCTools offers excellent performance. It's stable and in use by such distinguished frameworks as Netty, RxJava and others.
disruptor ❤️ , A High Performance Inter-Thread Messaging Library. Achieve very low-latency and high-throughput with our Java platform. Performance testing showed that using queues to pass data between stages of the system was introducing latency, so we focused on optimising this area.
caffeine ❤️ , Caffeine is a high performance, near optimal caching library based on Java 8. For more details, see our user's guide and browse the API docs for the latest release.
Caffeine is the Java 8 successor to ConcurrentLinkedHashMap and Guava's cache. Projects should prefer Caffeine and migrate when requiring JDK8 or higher. The previous caching projects are supported in maintenance mode.
concurrentlinkedhashmap, A high performance version of java.util.LinkedHashMap for use as a software cache.
Caffeine is the Java 8 successor to ConcurrentLinkedHashMap and Guava's cache. Projects should prefer Caffeine and migrate when requiring JDK8 or higher. The previous caching projects are supported in maintenance mode.
mapdb ❤️ , MapDB provides Java Maps, Sets, Lists, Queues and other collections backed by off-heap or on-disk storage. It is a hybrid between java collection framework and embedded database engine.
Chronicle Map ❤️ , Chronicle Map is a super-fast, in-memory, non-blocking, key-value store, designed for low-latency, and/or multi-process applications such as trading and financial market applications.
Chronicle Queue ❤️ , Chronicle Queue is a Java project focused on building a persisted low-latency messaging framework for high performance and critical applications.
Store complete history of all your messages to disk. With Chronicle Queue you are able to persist every single event and message, It records each event to a memory mapped file.
it is well known that guava is more than a collection lib
Caffeine is the Java 8 successor to ConcurrentLinkedHashMap and Guava's cache. Projects should prefer Caffeine and migrate when requiring JDK8 or higher. The previous caching projects are supported in maintenance mode.
More than Persistent Collections ❤️
Contain
persistent(immutable) collections/Functional Data Structures
📌vavr
❤️ , VΛVΓ (Vavr, formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.Kotlin
integration 🍩: https://github.com/vavr-io/vavr-kotlincyclops
❤️ , An advanced, but easy to use, platform for writing functional applications in Java 8.RxJava
,Reactor
,guava
,vavr
,functionaljava
...Functional Java
, Functional programming in Javaprocrastination
, A small, straightforward library bringing the benefits of functional programming to Java 11FP
Languages ❤️ have built-in Persistent Collections support 📌Scala
❤️ , Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.Clojure
❤️ , Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language, yet remains completely dynamic – every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.Persistent(immutable) Collections/Functional Data Structures 📌
PCollections
, A Persistent Java Collections LibraryCapsule
, aims to become a full-fledged (immutable) collections library for Java 8+ that is solely built around persistent tries.dexx
, Dexx Collections are a port ofScala
's immutable, persistent collection classes to pure Java.Kotlin
integration 🍩Paguro
, Type-safe versions ofClojure
's immutable/persistent collectionsjava-immutable-collections
Efficient Immutable/Persistent Collections for JavaPrimitive Collections/Type-specific Collections 💎
fastutil
❤️ , fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues with a small memory footprint and fast access and insertion; provides also big (64-bit) arrays, sets and lists, and fast, practical I/O classes for binary and text files.eclipse-collections
, Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.eclipse-collections
is more than a primitive collection libtrove4j
, High performance collections for Javahppc
, HPPC provides template-generated implementations of typical collections, such as lists, sets and maps, for all Java primitive types. The primary driving force behind HPPC is optimization for highest performance and memory efficiency.High Performance/Sophisticated Collection(-ish) 🚄
JCTools
❤️ , offer some concurrent data structures currently missing from the JDK. JCTools offers excellent performance. It's stable and in use by such distinguished frameworks as Netty, RxJava and others.disruptor
❤️ , A High Performance Inter-Thread Messaging Library. Achieve very low-latency and high-throughput with our Java platform. Performance testing showed that using queues to pass data between stages of the system was introducing latency, so we focused on optimising this area.High Scale Lib
❤️ , Cliff Click's high scale lib.caffeine
❤️ , Caffeine is a high performance, near optimal caching library based on Java 8. For more details, see our user's guide and browse the API docs for the latest release., A high performance version of java.util.LinkedHashMap for use as a software cache.concurrentlinkedhashmap
Collections Backed by Storage 🗃
mapdb
❤️ , MapDB provides Java Maps, Sets, Lists, Queues and other collections backed by off-heap or on-disk storage. It is a hybrid between java collection framework and embedded database engine.Collections with Distribution 🌏
Chronicle Map
❤️ , Chronicle Map is a super-fast, in-memory, non-blocking, key-value store, designed for low-latency, and/or multi-process applications such as trading and financial market applications.Chronicle Queue
❤️ , Chronicle Queue is a Java project focused on building a persisted low-latency messaging framework for high performance and critical applications.Contain Collections, but NOT Persistent 😱
eclipse-collections
, Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.UnsupportedOperationException
😱, not nice!commons-collections4
, The Apache Commons Collections package contains types that extend and augment the Java Collections Framework.guava
guava
is more than a collection libUnsupportedOperationException
😱, not nice!Related Resources
Maven Repository: collections https://mvnrepository.com/tags/collections
Functional Data Structures = immutable + persistent
Terrific share for Persistent Data Structures!! ❤️
https://greatpowerlaw.wordpress.com/2013/04/08/fastutil-vs-trove4j/
http://java-performance.info/primitive-types-collections-trove-library/
https://blog.juma.me.uk/tag/primitive-collections/
https://www.javamex.com/tutorials/memory/object_memory_usage.shtml
The text was updated successfully, but these errors were encountered: