I assume it would if you were using it on an indexed field and were originally taking advantage of that index in your query. But I would also think that LTRIM() would affect the speed, and possibly not RTRIM(). You would have to look into all of this, however.