v.23.2Performance Improvement

Add Fast Path for Empty Needle in Position Function

Add fast path for function position when the needle is empty. #45382 (李扬).