Skip to content

C++ code to evaluate the relative performance of various static function (“retrieval”) data structures

Notifications You must be signed in to change notification settings

sekti/retrieval-test

Repository files navigation

The purpose of this code is to compare the performance of various retrieval data structures. The following variations have been implemented:

  • BPZStrategy.h [1]
  • CoupledStrategy.h [2]
  • FuseStrategy.h [3]
  • GOVStrategy.h [4]
  • LMSSStrategy.h [5]
  • OneBlockStrategy.h [6]
  • TwoBlockStrategy.h [7]

These Strategies are to be used as template parameter to a retriever:

  • Retriever.h: Lightweight Wrapper, works with [1,2,3,5]
  • RetrieverChunked.h: Partition input into chunks, uses Strategy on each chunk. Works with [4,6,7].

ChunkInfo.h contains two Strategies for compressing the meta information of the chunks, if RetrieverChunked is used. RetrieverTester benchmarks a retriever.

I am not much of a coder, so I don't know much about best practices or how to properly package my code for others to use. There are probably portability issues. On windows I use g++ -O3 -std=c++17 main.cpp. There is a dependency to boost.

Feel free to anything you want from this folder for your own benchmarks.

About

C++ code to evaluate the relative performance of various static function (“retrieval”) data structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages