perf: Cache path resolving of scan
functions
#17616
+78
−37
Merged
scan
functions
#17616