datasketches-memory

High performance native memory access for Java.

APACHE-2.0 License

Stars
118
Committers
11

Bot releases are hidden (Show)

datasketches-memory - Apache Release DataSketches-Memory 3.0.0 Latest Release

Published by leerho 2 months ago

Summary

  • The purpose of this release is to align the API as close as possible to what it will be in the 4.0.0 release for Java 17. The Java 17 release will take advantage of the incubator Panama, which will eliminate the need to use JVM internals such as unsafe, VM, bits, etc. It will be faster too.
  • UDF-8 encoding is no longer supported. The prior UDF-code was out-of-date and Java already supports UDF-8 encoding directly.
  • Protobuf is no longer a dependency as it was only used to help test the UDF-8 encoding.
  • The Handles hierarchy has been removed as it will no longer be needed with Java 17.
  • Direct encoding of Primitive boolean arrays into bytes is no longer supported. The Java Language Specification does not specify a binary encoding of boolean arrays, and for that reason, Panama does not support them either.

Details of selected PRs

Full Changelog: https://github.com/apache/datasketches-memory/compare/2.2.1...3.0.0

datasketches-memory - Apache Release 2.2.1

Published by leerho 5 months ago

What's Changed

Full Changelog: https://github.com/apache/datasketches-memory/compare/2.2.0...2.2.1

datasketches-memory - Apache Release 2.2.0

Published by davecromberge over 1 year ago

This is a maintenance release and simplifies the Maven project structure.

datasketches-memory - Apache Release 2.1.0

Published by davecromberge over 2 years ago

This is a minor release and includes the following:

  • Removes Java 9 and Java 10 support from Datasketches-Memory. Since these versions are no longer receiving security patches, developers no longer need to install these versions on their own environments in order to work with Datasketches-Memory.
    See #160.
datasketches-memory - Apache Release 2.0.0

Published by davecromberge about 3 years ago

This is a major release and includes the following:

  • Significant refactoring in PR #129 that refines the public API and restricts access to the package internals using the JPMS in Java9+.
  • PR #131 maintains existing support for Java 8 and adds support for Java 9 up to Java 13. In Java9+, the library can now be declared as a JPMS module dependency in user applications.
  • Includes changes to how the RequestMemoryServer is managed in #136, #138 and #139
  • Improved documentation for developers and the end user including usage in Java9+ applications.
datasketches-memory - Apache Release 1.3.0

Published by leerho over 3 years ago

This is the first release of Memory as a Top Level Project.

  • This includes PR #122 submitted by Jihoon Son as well as follow-on PR #123, which extended the improvements identified in PR #122, to other areas. This is a significant speed improvement.
  • Removed references to "incubator" as a result of the TLP move.
  • Other minor code cleanup.
datasketches-memory -

Published by leerho almost 5 years ago

datasketches-memory - Apache Release 1.2.0-incubating

Published by leerho almost 5 years ago

Removes a check that required the runtime JDK to be JDK-8. This does not change the requirement that JDK-8 is required for full runtime operation. However in environments that do not use the advanced off-heap (direct) capabilities of Memory this module may still work in JDK versions later than JDK-8. However, there is no guarantee of this as this code has not been fully refactored and tested to operate in these later versions. Caveat Emptor.

This release was created for the convenience of some major users that need to do testing in versions later than JDK-8, and do not use the advanced features of Memory.

There are no other significant changes in this version compared to the previous 1.1.0-incubating release.

datasketches-memory -

Published by leerho about 5 years ago

This candidate was not released. There were some structural problems in the POM file.

datasketches-memory - Apache Release 1.1.0-incubating

Published by leerho about 5 years ago

This release came from RC2, which fixed some problems in the structure of the POM file of
RC1. There are no other changes.

datasketches-memory - Apache Release 1.0.0-incubating

Published by leerho about 5 years ago

This is the first release as Apache DataSketches-memory (incubating). This is a work-in-progress as it doesn't have all the licensing details quite right. But the code is good and passes all the tests. There are no significant code changes from the previous release. There will be another release coming with some speed improvements. So we suggest that you wait for the next release.

datasketches-memory - memory-0.12.2

Published by leerho over 5 years ago

Added new functionality.

XxHash is now not only available from Memory, it also is directly available for hashing primitive arrays. See class XxHash64.

datasketches-memory - Added xxHash, WritableMemory.allocate(capacity, ByteOrder)

Published by leerho almost 6 years ago

  • Added xxHash(...) that is accessible via Memory or Buffer and also replaces the slow hashCode().

  • Added WritableMemory.allocate(capacity, ByteOrder)

  • Added LGTM integration and badges.

  • Javadoc improvements & code cleanup.

datasketches-memory - Improved performance, expanded API

Published by leerho over 6 years ago

datasketches-memory - Added Non-Native Endianness

Published by leerho over 6 years ago

  • Byte arrays can be wrapped with optional ByteOrder specified with non-native endianness. Any putting or getting of multibyte primitives or primitive arrays into this byte array will be automatically byte-swapped.

  • The endianness of ByteBuffers will be detected when wrapping the ByteBuffer. Any putting or getting of primitives will be automatically byte-swapped.

  • This release includes some minor API changes to make them more understandable.

  • This release includes some bug fixes.

datasketches-memory - Added PutCharsToUtf8() and GetCharsFromUtf8()

Published by leerho over 6 years ago

  • Added PutCharsToUtf8() and GetCharsFromUtf8()

These methods have been specifically designed to avoid garbage generation during the conversions. The speeds are comparable with the Java built-in methods.

  • Made the bounds checking more conservative when putting and getting arrays, where the cost of the bounds check is negligible when compared to the cost of internal array copies.

  • Cleaned up some of the object construction cost of the ResourceState class.

datasketches-memory - Minor bug fixes, updated Javadocs

Published by leerho about 7 years ago

  • Minor bug fixes (e.g., null checks)
  • Fix FindBugs warnings
  • Updated overview, Javadocs, pom, etc.
datasketches-memory - Buffer bug fix, extended API

Published by AlexanderSaydakov over 7 years ago

  • fixed a bug in getting region() of a Buffer
  • added direct offset put methods to WritableBuffer
datasketches-memory - Expanded Buffer API

Published by AlexanderSaydakov over 7 years ago

  • expanded Buffer API to include commonly used direct access methods
  • null handling consistent with ByteBuffer
datasketches-memory - New API and improved performance

Published by AlexanderSaydakov over 7 years ago

Completely rewritten code