ez8-co / linked_hash Goto Github PK
View Code? Open in Web Editor NEW🦄 链式哈希 [LRU] Fast, header-only, cross-platform and STL-like linked_hash_map & linked_hash_set for C++. (beats 100% submissions @ leetcode) LRUCache
License: MIT License
🦄 链式哈希 [LRU] Fast, header-only, cross-platform and STL-like linked_hash_map & linked_hash_set for C++. (beats 100% submissions @ leetcode) LRUCache
License: MIT License
My ide is VS2015,and I use cmake tool convert this project to windows style.
This step is OK.
Such as following:
E:\cmake_source\linked_hash-master\test> cmake . -G "Visual Studio 14 2015"
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.0.23506.0
-- The CXX compiler identification is MSVC 19.0.23506.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: E:/cmake_source/linked_hash-master/test
But when I use nmake command,it failed,cause' 'gtest.h' file lost.
Can you provide this file on your project?
可以把我实现的lru 加入你的测试(集中删除)https://github.com/ktprime/emhash/blob/master/lru_size.h
过比传统实现hashmap+list 快4倍。一个单一数组实现的hash,不算严格的lru。
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.