Skip to content

Conversation

@thomasjungblut
Copy link
Owner

That PR adds a magic number search based on AVX2. This reduces the sstable disk index search time from:

BenchmarkSSTableRandomReadByIndexTypes/disk-20 44634 26629 ns/op

to

BenchmarkSSTableRandomReadByIndexTypes/disk-20 50830 23262 ns/op

Not an insane improvement, but I think we can use that to very quickly read the recordio file to determine the index offsets. Which in turn allows to binary search/map lookup without additional seeking.

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