pmt perf improvements: Make function arguments const & (c1257, c1260