Viewing profile — krka
krka
HN member- Joined
- Mon, Sep 02, 2013, 2:11 PM UTC
- HN karma
- 24
- Public activity
- 12 items
- HN profile
- View on Hacker News ↗
About krka
No profile information was provided.
Recent public activity
-
comment
Comment #38989228
Now when I'm at an actual computer, I see that it was implemented, at least in the Java version. Removing that made for a 30% speed increase: https://github.com/spotify/sparkey-jav…
-
comment
Comment #38889904
True, if the lookup actually implemented this, it would be more divisions. This might partly be why it did not get implemented at all. With a sparse index (25% empty capacity) we s…
-
comment
Comment #38879560
I haven't worked on this code in a long time but I will try to answer based on what I remember. (Also on phone without easy access to the code) The idea is that all entries have a …
-
comment
Comment #6328235
Could be due to a bug related to reading uninitialized data on the stack. That could lead to using the wrong number of bits for the hash, causing an unnecessarily high number of ha…
-
comment
Comment #6327746
Thanks, that's interesting data! I am not sure why you changed the key format to "key_%09d" - is that an optimization for lmdb, to make sure the insertion order is the same as the …
-
comment
Comment #6326769
Well, some DB's "load" the value in some way before giving it to the user, so that time is implicitly measured for those types of DB's but not for others, so I don't think it's a p…
-
comment
Comment #6326013
Yes, this post was handwaving, and I tried to make that clear ("preliminary", "extremely biased"). On monday I added some slightly more proper benchmark code, you can find it on ht…
-
comment
Comment #6316700
I have now created a very simple benchmark suite to give you some rough performance numbers, and updated the README to include some sample numbers for one specific machine.
-
comment
Comment #6316317
Bam looks really interesting, definitely a lot simpler than Sparkey, and the basic principle is the same. I have been hesitant to use perfect hashing for Sparkey since I wasn't sur…
-
comment
Comment #6315393
Here are some preliminary performance benchmarks from my regular workstation (Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 8 GB RAM): http://pastebin.com/7buZVgdu The sparkey usage is …
-
comment
Comment #6315251
There are a bunch of comments related to performance data - the code is available so nothing is stopping anyone from making an unbiased comparison. :) That said, I intend to publis…
-
comment
Comment #6315233
Right, this is actually the first commit - it's just that the history was squashed before publish - we had to remove sensitive Spotify specific things in it, and it seemed easiest …