renzibei / fph-table Goto Github PK
View Code? Open in Web Editor NEWFlash Perfect Hash Table: an implementation of a dynamic perfect hash table, extremely fast for lookup
Flash Perfect Hash Table: an implementation of a dynamic perfect hash table, extremely fast for lookup
There is no usage example for insert(input_iterator, end_iterator)
. Can you supplement it? what type should input_iterator and end_iterator be? When I set them to iterator of std:: vector<std:: pair<int, int>>
, there will be compile errors. Thanks in advance.
Hi,
I am developing production application which depend on this library. We have configuration where we enable and disable exceptions. I am able to compile with exceptions but without exception, compilation break. Please support disabling exceptions as well.
Thanks for this library. It's really helpful. :)
Hi,
After updating to latest commit, I am getting following exceptions.
/opt/rh/gcc-toolset-11/root/usr/bin/ld: empty/CMakeFiles/empty.dir/empty/empty_strategy.cpp.o (symbol from plugin): in function `fph::dynamic::detail::ThrowInvalidArgument(char const*)':
(.text+0x0): multiple definition of `fph::dynamic::detail::ThrowInvalidArgument(char const*)'; empty/CMakeFiles/empty.dir/empty/main.cpp.o (symbol from plugin):(.text+0x0): first defined here
/opt/rh/gcc-toolset-11/root/usr/bin/ld: empty/CMakeFiles/empty.dir/empty/empty_strategy.cpp.o (symbol from plugin): in function `fph::dynamic::detail::ThrowInvalidArgument(char const*)':
can you add my emhash into your benchmark ๏ผ
https://github.com/ktprime/emhash/blob/master/hash_table7.hpp
https://github.com/ktprime/emhash/blob/master/hash_table8.hpp
https://github.com/ktprime/emhash/blob/master/thirdparty/emilib/emilib2.hpp
I have add your hashmap into my bench
https://github.com/ktprime/emhash/blob/master/bench/ebench.cpp
https://github.com/ktprime/emhash/blob/master/bench/qbench.cpp
https://github.com/ktprime/emhash/blob/master/bench/martin_bench.cpp
....
I got a compile error in martinus/map_benchmark:
/home/martinus/git/map_benchmark/external/fph__noseed_fph_map/include/fph/dynamic_fph_table.h:1509:33: error: no member named 'exchange' in namespace 'std'; did you mean '__exchange'?
seed1_(std::exchange(other.seed1_, 0x123456797291071ULL)),
~~~~~^~~~~~~~
__exchange
It appears #include <utility>
is missing: https://en.cppreference.com/w/cpp/utility/exchange, when I add the include it compiles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.