I had the same thought of using a static initializer.  The issue is where...
The /common/Family class is used by every sketch, but usually only during
serialization.
The /common/Util class is another class used throughout the library.
I think I will put it in both.

With this change I can eliminate all the checking for endianness throughout
and there are a number of them.
The BigEndian Flag bit should never be set except in test... and if we
eliminate all the checks for it we can eliminate the tests that test the
violation of the bit.  This will result in small changes to lots of
classes  ... sigh 😞

On Sat, Aug 2, 2025 at 11:34 AM leerho (via GitHub) <g...@apache.org> wrote:

>
> leerho merged PR #675:
> URL: https://github.com/apache/datasketches-java/pull/675
>
>
> --
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on to GitHub and use the
> URL above to go to the specific comment.
>
> To unsubscribe, e-mail: dev-unsubscr...@datasketches.apache.org
>
> For queries about this service, please contact Infrastructure at:
> us...@infra.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@datasketches.apache.org
> For additional commands, e-mail: dev-h...@datasketches.apache.org
>
>

Reply via email to