Simple library to create primitive collections. Using template files to generate them. Project for self teaching.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Speiger 4dd3a4a6e8 0.8.0 Release 3 months ago
.github/workflows Small Publish action fix. 8 months ago
gradle/wrapper Moving to a more up to date system. 12 months ago
src First draft of the 0.8.0 patch. 3 months ago
.classpath Changes. 2 years ago
.gitattributes Removed the double foldering and started some seriouse work. 2 years ago
.gitignore Refactor of the Project on Github. 10 months ago
.project Map Tests & BugFixes. 2 years ago
Changelog.md First draft of the 0.8.0 patch. 3 months ago
EXTRAS.md First draft of the 0.8.0 patch. 3 months ago
LICENSE Update LICENSE 1 year ago
ModulSettings.json Collection Module Works now. (Least Configurable for obvious Reasons) 4 months ago
README.md First draft of the 0.8.0 patch. 3 months ago
RuleSheet.md New Content patch getting big progress on base and progress on lists. 2 years ago
build.gradle 0.8.0 Release 3 months ago
features.md New Stuff 11 months ago
gradle.properties Added gradle now uses the java version it runs on. 12 months ago
gradlew Removed the double foldering and started some seriouse work. 2 years ago
gradlew.bat Removed the double foldering and started some seriouse work. 2 years ago
jitpack.yml Updated yml Scripts 11 months ago
settings.gradle Removed the double foldering and started some seriouse work. 2 years ago

README.md

build Latest Release License GitHub commit activity
Unit Tests Coverage codecov Tests Done

Primitive-Collections

This is a Simple Primitive Collections Library aimed to outperform Java's Collection Library and FastUtil.
Both in Performance and Quality of Life Features.

Benchmarks

Benchmarks can be found here: [Charts], [Tables]

Special Features

Here you find a set of features added to Primitive Collections.
These are designed to improve performance or to provide Quality of Life.

Here you also find features that can be used when you compile the library for yourself.
These features are not used by default to have a wider range of compat, or require self compilation.
Such as pruning classes that are not needed in your code.

Main Features:

  • ArrayLists / LinkedLists / CopyOnWriteLists
  • HashSets/Maps (Linked & HashControl)
  • TreeSets/Maps (RB & AVL)
  • EnumMaps
  • Immutable Maps/Lists/Sets
  • ConcurrentHashMaps
  • Priority Queues
  • Streams & Functional Queries
  • Split/Iterators
  • Pairs
  • Unary/Functions
  • Suppliers
  • Bi/Consumers
  • AsyncBuilders

Notes about Versions

Any 0.x.0 version (Minor) can be reason for massive changes including API.
To ensure that problems can be dealt with even if it is breaking the current API.

How to install

Using Jitpack Gradle

repositories {
    maven {
        url = "https://jitpack.io"
    }
}
dependencies {
	implementation 'com.github.Speiger:Primitive-Collections:0.7.0'
}

SourceCode

The generated Sourcecode can be automatically build,
but if you want to just browse around in it.
Check out the Debug Branch, which has the entire up to date code.

Contributing

If you want to contribute.
This project is created using gradle and java and my Template Library only. Nothing extra.
If you setup gradle the library will be downloaded automatically.

Where is everything stored?

  • Variables and ClassNames are define here
  • Templates are stored here
  • Tests can be found here

Please if you want to contribute follow the Rule-Sheet. It keeps everything in line.

How to Build

The SourceCode can be generated via:

/gradlew.bat generateSource      

to generate SourceCode and build the jar:

/gradlew.bat build