Skip to content

Conversation

@stokito
Copy link
Contributor

@stokito stokito commented Feb 26, 2023

The logging is almost useless for users but a developer can debug in IDE.
The raw keys bytes are not saying anything.
We have errors to return a message to a caller.
In the same time the code needs to be compiled and it makes the program slower because it resides in CPU cache.
I going to send another PR with a performance improvement and for it I anyway need to broke the logging in some places.

I benchmarked and even when the logging is disabled it still makes code slower because it takes some place in CPU instructions cache.

The PR has some minor refactoring of tests.

The logging is almost useless for users but a developer can debug in IDE.
The raw keys bytes are not saying anything.
We have errors to return a message to a caller.
In the same time the code needs to be compiled and it makes the program slower because it resides in CPU cache.
Remove deprecated isDebugMode
These fields are never read but consumes memory.
If we are going to create many instances of the Pricer then it will consume a lot of memory and make program slower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant