Releases: Abductcows/java-bit-array
Releases · Abductcows/java-bit-array
v2.0.0
API
- backwards incompatible changes to the public api (package name for maven release)
- Nonnull annotations for smooth Kotlin interoperability
- new
countOnes()
,countZeros()
andindexOfNeedle(bool needle)
methods - more standard class javadoc
Internals
- a lot more tests, all migrated to Kotlin using the given/when/then paradigm
- smaller, simpler pom
Misc
- smaller size thanks to javadoc shortening
Full Changelog: v1.0.3...v2.0.0
v1.0.3 Better Tests and @NotNull annotations
Mainly proper and readable tests using the given, when, then template and assertJ assertions. Also NotNull annotations for public methods and their arguments, mainly with Kotlin consumers in mind.
What's Changed
- Proper-er unit tests, bit of javadoc and annotations by @Abductcows in #10
- remove test println statements by @Abductcows in #11
- increment version by @Abductcows in #12
Full Changelog: v1.0.2...v1.0.3
v1.02 Better tests, JMH benchmark and more
Neat stuff
- Tests are now parametrized to easily capture edge cases such as 0/1 elements in operations.
- There is an actual benchmark made with JMH, you can see it here
- Bit copying operations are reliably a tiny bit faster thanks to some int -> long conversions but since 1.0.0 was not even close to being precisely benchmarked, you need to take it on faith :)
Files
- Jar file for class only
- Zip for class and sources
1.0.0
First release!!
I am excited to present the first usable version of BitArray. Let this be a warning to ArrayList supporters.