Skip to content

Use floats instead of doubles in wmh#196

Merged
smacker merged 3 commits intosrc-d:masterfrom
smacker:use_floats_for_wmh
Feb 11, 2019
Merged

Use floats instead of doubles in wmh#196
smacker merged 3 commits intosrc-d:masterfrom
smacker:use_floats_for_wmh

Conversation

@smacker
Copy link
Copy Markdown
Contributor

@smacker smacker commented Feb 8, 2019

  • 32 bit precision is enough for us
  • we drop the rest when we calculate hashtables anyway
  • change should reduce required memory for wmh instance twice

Signed-off-by: Maxim Sukharev max@smacker.ru

- 32 bit precision is enough for us
- we drop the rest when we calculate hashtables anyway
- change should reduce required memory for wmh instance twice

Signed-off-by: Maxim Sukharev <max@smacker.ru>
@smacker smacker requested a review from carlosms February 8, 2019 12:10
@smacker
Copy link
Copy Markdown
Contributor Author

smacker commented Feb 8, 2019

FileQuery test has failed but with manual testing everything works file. I'm looking into it. (most probably the problem is in the test itself)

Signed-off-by: Maxim Sukharev <max@smacker.ru>
@smacker
Copy link
Copy Markdown
Contributor Author

smacker commented Feb 8, 2019

Fixed. I had to update all related fixtures not only hashtables because go-driver started returning a little bit different results -> different features -> different docfreq.

Signed-off-by: Maxim Sukharev <max@smacker.ru>
@smacker smacker merged commit 6f09e90 into src-d:master Feb 11, 2019
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.

2 participants