Browse Source
Few simple performance fixes found with sysbench oltp.lua and Oprofile:
Few simple performance fixes found with sysbench oltp.lua and Oprofile:
- Avoid needless load/stores in my_hash_sort_simple due to possible aliasing - Avoid expensive Join_plan_state constructor in choose_subquery_plan when no subquery - Avoid calling update_virtual_fields for every row when no virtual fields.
6 changed files with 41 additions and 27 deletions
-
4sql/filesort.cc
-
4sql/opt_subselect.cc
-
3sql/records.cc
-
3sql/sql_select.cc
-
41sql/table.cc
-
13strings/ctype-simple.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue