some inlining for functions in R.U.Ptr