ID:1303444
 
(See the best response by Stephen001.)
Code:
// Why this
src.Level=F["Level"]
src.Exp=F["Exp"]
// Instead of
F["Level"]>>src.Level
F["Exp"]>>src.Exp
//F
var/savefile/F=new("Players/[ckey(src.key)].sav")


Problem description:
What are the differences between those ? Is it a matter of performance or.. ?

Thanks in advance.
I can't speak of performance, but I suspect it's largely just programmer preference?
That's not mine, and since there was no commentaries I was trying to understand it.
That's from a Load Proc as you may assume, so 2nd option gets same results as if I do the 1st option ?
I played with it in a bit of my saving code and checked the profiles earlier, to my surprise there was a difference though it was rather small. For some reason when I change to src.Exp=F["Exp"] the proc that originally calls the checking process (in this case click() on a turf) jumps from 0.001 to 0.002 , rather inconsequential either way but it seems there is a difference.
Best response
It's always hard to say if that's an actual difference, or just luck of the draw because your I/O was busy with background OS file read/write, or disk latency yadda yadda.

In terms of logic, they do the same thing though, and I think Lifehunter's little test shows there is no massive performance difference between the two.
That was clear enough, thanks for your time, both of you.
Solved.