-
Notifications
You must be signed in to change notification settings - Fork 78
Бандурин Владислав, ИТМО ФИТиП М33321, Bloom Filter #301
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Очень хорошее решение, но вы почему-то не исправили кучу замечаний от codeclimate
20 баллов
*/ | ||
public class BitSet { | ||
|
||
private final List<Long> longs; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Использовать в BitSet
ArrayList<Long>
очень плохая затея. Советую посмотреть, как это будет устроено в памяти и окажется, что такая реализация будет сильно проигрывать и по памяти, и по времени хотя бы long[]
. Данная реализация теряет весь смысл в использовании битсета вообще
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Посмотрю, спасибо.
По поводу codeclimate - там нужно было менять код в MurMurHash, из-за чего он начинал некорректно работать.
Доставил до 4 |
No description provided.