Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove debug #17

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Remove debug #17

wants to merge 7 commits into from

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