Commit Graph

549 Commits (46fb6ced302b941275a1178c398ecb8ba66b469f)

Author SHA1 Message Date
Daniel Kolesa f2082d17cd use string ranges everywhere else in format 2015-07-21 22:03:57 +01:00
Daniel Kolesa ede7e3f8b6 don't use strcmp in tests 2015-07-21 21:46:43 +01:00
Daniel Kolesa 874f8a3c14 use string ranges in format 2015-07-21 21:45:04 +01:00
Daniel Kolesa 7a0237788f ConstStringRange ToString specialization 2015-07-21 20:25:09 +01:00
Daniel Kolesa aa9bdb3ec2 better StringRange from-string ctor (allows for non-const to const conv semantics) 2015-07-21 20:23:31 +01:00
Daniel Kolesa 5d36b5663c StringRange - differentiate between arrays and pointer constructors 2015-07-21 20:19:27 +01:00
Daniel Kolesa 852ae9ea37 better hashtable erase 2015-07-21 02:11:53 +01:00
Daniel Kolesa 71f5df79ce better multihash insertion strategy (make sure elements with equal keys always form a sequence in a bucket) 2015-07-21 01:37:02 +01:00
Daniel Kolesa 8e40fca1ce hash fixes/cleanups and make at() return a pointer 2015-07-20 22:04:52 +01:00
Daniel Kolesa 56629ff358 bucket list cleanup 2015-07-20 21:56:56 +01:00
Daniel Kolesa 0421e7b3c8 use calls to bucket() to get hashes 2015-07-20 21:08:49 +01:00
Daniel Kolesa 0c297af0bd hash chunk cache line boundary alignment optimization 2015-07-20 18:51:16 +01:00
Daniel Kolesa cc0fccb8cf use fnv-1a hashing instead of djb2 2015-07-20 02:20:35 +01:00
Daniel Kolesa a048a5384c use mem_hash for hashing strings 2015-07-20 02:15:12 +01:00
Daniel Kolesa 453b463ce6 optimize hashtable to use small ranges (but larger nodes) 2015-07-20 02:08:30 +01:00
Daniel Kolesa 3613af3daa alloc an extra bucket ptr as trailing sentinel value (for later usage) 2015-07-20 00:50:31 +01:00
Daniel Kolesa d7c789195a string fixes 2015-07-18 17:01:11 +01:00
Daniel Kolesa 53e292cdb0 _s literal for strings 2015-07-18 01:02:13 +01:00
Daniel Kolesa a6584020a3 signal.hh -> event.hh, Event -> Signal 2015-07-17 19:00:25 +01:00
Daniel Kolesa e9cf0c67ed more signal functionality 2015-07-16 20:49:12 +01:00
Daniel Kolesa 58cbe3873c recycle signal slots 2015-07-16 19:21:51 +01:00
Daniel Kolesa 8327022c67 signal const correctness 2015-07-16 18:55:21 +01:00
Daniel Kolesa b22baaf5fd const for emit 2015-07-16 01:42:35 +01:00
Daniel Kolesa b20e32a8b6 add Event::clear 2015-07-16 01:40:58 +01:00
Daniel Kolesa 01ebb0063c add new signal API 2015-07-16 01:37:37 +01:00
Daniel Kolesa 267e14c1c2 Maybe fix 2015-07-15 22:03:51 +01:00
Daniel Kolesa 1c4f04757d mv the octa directory too 2015-07-13 20:10:29 +01:00
Daniel Kolesa 8ddbccc94f namespace octa -> namespace ostd 2015-07-13 20:07:14 +01:00
Daniel Kolesa 33a1123970 vector relational ops 2015-07-13 00:24:14 +01:00
Daniel Kolesa 67eae3ea59 properly allocator aware concat() 2015-07-12 15:55:41 +01:00
Daniel Kolesa 050b7f04f7 string no longer uses a vector behind the scenes (allows zero allocs when nothing is in string etc) 2015-07-12 03:12:07 +01:00
Daniel Kolesa 6df52cdbcb define UsesAllocator for tuple 2015-07-11 22:24:36 +01:00
Daniel Kolesa fa7d07bf01 tuple relational operators 2015-07-11 22:05:02 +01:00
Daniel Kolesa 201d2d3c86 fix initializer list ToString 2015-07-11 21:54:58 +01:00
Daniel Kolesa a37e8bc6f8 more ToString fixes 2015-07-11 20:21:49 +01:00
Daniel Kolesa 02bc84dbb5 fix ToString 2015-07-11 20:18:46 +01:00
Daniel Kolesa 5f083f2b67 better to_string test 2015-07-11 19:54:51 +01:00
Daniel Kolesa 2c09fc968f inheritance-respecting swap checks 2015-07-11 19:44:58 +01:00
Daniel Kolesa b72e15a8d2 properly test for to_format (respect inheritance) 2015-07-11 19:30:31 +01:00
Daniel Kolesa 7b247c5c7b ADL-respecting to_format 2015-07-11 19:14:12 +01:00
Daniel Kolesa c34e81be56 make swap respect ADL (while still not requiring it) 2015-07-11 18:50:13 +01:00
Daniel Kolesa 82a8ea3902 SFINAE friendly ToString and expansion of any tuple-like type in format 2015-07-11 17:26:41 +01:00
Daniel Kolesa a77f983015 more complete relational operator sets + add lexicographical comparison 2015-07-11 16:08:09 +01:00
Daniel Kolesa 4a871db249 move TupleElementBase out of namespace detail (meant to be overloaded) 2015-07-11 15:17:12 +01:00
Daniel Kolesa cd6e2a96aa tuple additions/fixes 2015-07-11 15:06:42 +01:00
Daniel Kolesa 13ef36ba01 add some tuple funcs 2015-07-11 03:26:57 +01:00
Daniel Kolesa b496d130ab initial implementation of tuples 2015-07-11 02:38:11 +01:00
Daniel Kolesa 3fd83c4bbd fix a subtle bug in AddRvalueReference 2015-07-11 02:29:14 +01:00
Daniel Kolesa 28cbc8f4a9 gcc fixes 2015-07-11 01:22:48 +01:00
Daniel Kolesa 06a91b98f5 add memory::UsesAllocator,UsesAllocatorConstructor 2015-07-10 23:50:01 +01:00