mariadb/unittest/sql
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
..
CMakeLists.txt unittest: encrypted temporary IO_CACHE 2015-06-27 09:40:56 +02:00
explain_filename-t.cc fix some quoting in error messages 2016-09-16 09:54:30 +02:00
mf_iocache-t.cc Simplify IO_CACHE by removing current_pos and end_pos as self-references 2017-06-28 15:23:36 +03:00
my_apc-t.cc Correct FSF address 2017-03-10 18:21:29 +01:00