While F-82 and P-38 shared the exact same engine, the F-82 had higher top speed, higher cruising speed, longer range, and could carrying 1500lbs more at take off. Apart from ceiling high, the F-82 beat the P-38 in almost every measure.
It was also based on the legendary P-51 which remained in service into the 50s, where as aircraft like the P-38 were immediately drawn down after the war.