Raphael S. Carvalho
d382a314b3
core: sstring: move initialized_later to be a public member
...
It's required for instantiating a sstring with the constructor
basic_sstring(initialized_later, size_t size).
Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com >
2014-11-01 15:36:28 +02:00
Tomasz Grabiec
a8828fdf8c
core: use standard hash for sstring
...
Turns out that the current hash implementation yields very bad
hashes. This change improves memcache throughput by 70% on
muninn/huginn.
2014-10-22 18:51:55 +03:00
Tomasz Grabiec
4ac3c1d1e1
core: add to_sstring(sstring) overload
...
So that we don't need to special case templates.
2014-10-21 16:43:09 +02:00
Tomasz Grabiec
4edfc4f0c2
core: implement to_sstring(const char*)
2014-10-18 12:59:59 +02:00
Tomasz Grabiec
97a16c16fd
core: add operator<< which can print any vector
...
Useful in tests.
2014-10-15 15:59:42 +02:00
Tomasz Grabiec
1bdb73e5da
core: fix buffer overflow in to_sstring()
2014-10-09 20:04:53 +03:00
Avi Kivity
82cf2eff7c
sstring: add conversion from std::string
2014-09-10 13:45:54 +03:00
Avi Kivity
5ad3648c4f
sstring: fix assignment operator missing return
2014-09-10 11:36:13 +03:00
Avi Kivity
147046adea
Fix copyrights
2014-09-04 18:39:25 +03:00
Avi Kivity
c77f77ee3f
build: organize files into a directory structure
2014-08-31 21:29:13 +03:00