Stashing the patch here. It's not a speed-up AFAICT.
Created attachment 438769 [details] da patch It's not a speed-up
<rdar://problem/83601950>