1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/include
Vicențiu Ciorbaru 9003869390 Simplify IO_CACHE by removing current_pos and end_pos as self-references
These self references were previously used to avoid having to check the
IO_CACHE's type. However, a benchmark shows that on x86 5930k stock,
the type comparison is marginally faster than the double pointer dereference.
For 40 billion my_b_tell calls, the difference is .1 seconds in favor of performing the
type check. (Basically there is no measurable difference)

To prevent bugs from copying the structure using the equals(=) operator,
and having to do the bookkeeping manually, remove these "convenience"
variables.
2017-06-28 15:23:36 +03:00
..
2017-05-09 13:24:52 +02:00
2013-03-26 00:03:13 +02:00
2016-10-19 14:10:03 +04:00
2016-09-02 13:22:28 +03:00
2014-06-06 00:07:27 +02:00
2014-03-15 18:24:15 +01:00
2014-03-26 22:25:38 +01:00
2013-03-26 00:03:13 +02:00
2017-03-31 19:22:20 +02:00
2017-03-30 12:48:42 +02:00
2017-03-10 18:21:29 +01:00
2014-03-15 18:24:15 +01:00
2014-03-16 13:59:44 +01:00
2017-03-07 19:07:27 +02:00
2013-03-26 00:03:13 +02:00
2015-01-21 12:03:02 +01:00
2016-12-29 13:23:18 +01:00
2014-03-15 18:24:15 +01:00
2016-03-23 22:36:46 +01:00
2017-03-10 18:21:29 +01:00
2014-03-16 21:03:01 +01:00
2017-03-30 12:48:42 +02:00
2015-04-05 13:14:37 +02:00
2017-05-06 14:36:46 +03:00
2017-03-10 18:21:29 +01:00
2017-03-07 19:07:27 +02:00
2016-06-21 14:11:02 +02:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2017-03-10 18:21:29 +01:00
2017-06-14 12:02:54 +02:00
2013-07-18 16:46:57 +02:00
2017-03-30 12:48:42 +02:00
2017-06-14 12:02:54 +02:00
2014-03-16 21:03:01 +01:00
2017-03-07 19:07:27 +02:00
2014-10-10 22:27:36 +02:00
2017-03-07 19:07:27 +02:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00