diff options
author | Magne Mahre <magne.mahre@sun.com> | 2009-11-11 17:03:02 +0100 |
---|---|---|
committer | Magne Mahre <magne.mahre@sun.com> | 2009-11-11 17:03:02 +0100 |
commit | bd97e771a1e6dac0aa21ffea99fc10bc48f25ba2 (patch) | |
tree | bd6c6b3dc2db4640166de7823092fdb3a6934955 /strings/strmake-sparc.s | |
parent | 1f3b4018f9a06a2efc63cc669d1eb316f8a392b3 (diff) | |
download | mariadb-git-bd97e771a1e6dac0aa21ffea99fc10bc48f25ba2.tar.gz |
Bug #14637: trim trailing spaces processes data only byte wise
(From: gkodinov)
Use and int * where possible to scan for trailing space in a
string instead of always iterating char-by-char.
Using the attached benchmark file on a 32 bit Intel Core 2
Duo CPU I've got 43485 ms run with the fix compared to 44373
without it.
Backported to 5.6.0 (next-mr-runtime)
6.0-codebase revid: 2476.1362.1
Diffstat (limited to 'strings/strmake-sparc.s')
0 files changed, 0 insertions, 0 deletions