Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add NINJA_FALLTHROUGH macro | Stefan Becker | 2018-04-11 | 1 | -0/+3 |
| | | | | | | | | Borrow macro implementation from OpenSSL code. Add the macro after each fallthrough switch case to indicate our intention to the compiler. This silences GCC -Wimplicit-fallthrough warnings, which is implied by GCC 7.x -Wextra. | ||||
* | Optimize StringPiece hash map | Fredrik Medley | 2015-09-03 | 1 | -1/+1 |
| | | | | | | Replace strncmp with memcmp to improve performance. Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com> | ||||
* | Try to simplify d1e6a29 a bit. | Nico Weber | 2015-01-04 | 1 | -3/+3 |
| | |||||
* | Remove unused hash<std::string>. | Nico Weber | 2015-01-04 | 1 | -9/+0 |
| | | | | | ExternalStringHashMap used to store std::strings long ago. Since it doesn't anymore, this specialization isn't needed. No behavior change. | ||||
* | Fix compilation errors on Visual Studio 2015 (_MSC_VER 1900). | Beren Minor | 2014-12-31 | 1 | -2/+19 |
| | |||||
* | Fix compilation on VS2013 | Scott Graham | 2013-10-18 | 1 | -0/+1 |
| | |||||
* | Minor style fixes, no behavior change. | Nico Weber | 2013-08-23 | 1 | -1/+1 |
| | |||||
* | Fix murmur hash implementations to work on strict alignment | Matthew Dempsky | 2013-07-08 | 1 | -1/+3 |
| | | | | architectures like OpenBSD/mips64el and OpenBSD/hppa64. | ||||
* | Fix formatting | Robert Iannucci | 2012-11-30 | 1 | -2/+2 |
| | |||||
* | windows: fix size_t<->int conversions in ninja.exe | Evan Martin | 2012-08-10 | 1 | -1/+1 |
| | |||||
* | fix hash_map StringPiece comparator | Scott Graham | 2012-07-31 | 1 | -3/+3 |
| | |||||
* | Revert "Make StringPiece data members private." | Nico Weber | 2012-07-28 | 1 | -1/+1 |
| | | | | | | This reverts commit 904c9610fe66c4f4bd63a07d6f057c8603d24394. The commit caused issue #380, this revert fixes it. The revert also makes the test from the previous commit pass. | ||||
* | also build with msvc | Peter Kümmel | 2012-07-27 | 1 | -3/+3 |
| | |||||
* | Make StringPiece data members private. | Thiago Farina | 2012-06-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | decide on murmur hash, delete stl hash | Evan Martin | 2012-01-12 | 1 | -18/+4 |
| | | | | | | | A nice thing about working on Google: a C++ expert who happened to be writing a proposal on hashing for the next C++ version wandered into my office. He seemed to think using Murmur here is fine. | ||||
* | make new hash work on windows | Evan Martin | 2012-01-11 | 1 | -4/+14 |
| | |||||
* | back to murmur hash | Evan Martin | 2012-01-09 | 1 | -7/+7 |
| | |||||
* | more stringpiece | Evan Martin | 2012-01-09 | 1 | -1/+1 |
| | |||||
* | murmur -> stl hash | Evan Martin | 2012-01-09 | 1 | -1/+10 |
| | |||||
* | convert ExternalStringHash to use StringPiece | Evan Martin | 2012-01-09 | 1 | -16/+44 |
| | |||||
* | Changes to hash_map to make it build with MSVC's version | Frances Buontempo | 2012-01-03 | 1 | -5/+12 |
| | |||||
* | generalize the pattern of hash_map<const char*, ...>, use in BuildLog | Evan Martin | 2011-09-12 | 1 | -0/+29 |
| | | | | | | Refactor the code in StatCache for use in BuildLog. Now both use hash tables where the keys are const char*. Removes another 30ms from Chrome no-op builds. | ||||
* | [windows] extend hash_map.h for Windows hash_map | Sergey Nenakhov | 2011-04-23 | 1 | -0/+9 |
| | |||||
* | Add missing CPP guards. | Nicolas Despres | 2011-03-22 | 1 | -0/+5 |
| | |||||
* | add copyrights | Evan Martin | 2011-02-06 | 1 | -0/+14 |
| | |||||
* | use hash_map for paths; much faster builds | Evan Martin | 2010-12-17 | 1 | -0/+12 |