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

feat: cache precision per device #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julien-f
Copy link

See #103

Quick and untested implementation.

@julien-f julien-f force-pushed the precision-per-device branch 2 times, most recently from 3edb1c3 to a0dbc66 Compare May 10, 2021 14:14
@satazor
Copy link
Contributor

satazor commented May 10, 2021

It looks good so far however one test is failing, can you check it out?

We are missing tests as well before merging.

@julien-f
Copy link
Author

@satazor AFAU, the problem comes from the test expecting a specific number of calls to stat:

if (count % 2 === 0) {

But the new algorithm, introduce an extra to get the device.

@satazor
Copy link
Contributor

satazor commented May 16, 2021

Yes we need to update existing tests and generate new ones to test the new code (different devices).

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.

None yet

2 participants