Files
scylladb/core
Avi Kivity 7dfd7de8cd future: optimize data-less future<>
A future that does not carry any data (future<>) and its sibling (promise<>)
are heavily used in the code.  We can optimize them by overlaying the
future's payload, which in this case can only be an std::exception_ptr,
with the future state, as a pointer and an enum have disjoint values.

This of course depends on std::exception_ptr being implemented as a pointer,
but as it happens, it is.

With this, sizeof(future<>) is reduced from 24 bytes to 16 bytes.
2014-12-09 10:08:48 +02:00
..
2014-12-09 09:59:46 +02:00
2014-10-05 18:09:09 +03:00
2014-10-22 16:37:36 +03:00
2014-10-05 19:58:12 +03:00
2014-10-02 14:32:32 +03:00
2014-12-09 10:08:48 +02:00
2014-11-05 11:35:50 +02:00
2014-10-30 14:08:23 +02:00
2014-11-06 10:30:30 +02:00
2014-12-04 13:37:35 +01:00
2014-10-21 16:58:35 +02:00