想請問各位大大,以下3種是傳遞值的方式(如下圖)

想問說,用哪一種會比較好,因為local variable可以用reference的方式去顯現,只是雖然意思結果一樣但是哪一種對程式比較好,就我所知local variable會去佔電腦的記憶體,而reference我就不太清楚了,只是看人家常用reference去取代local variable,所以想請各位大大為小弟解惑比較一下,謝謝各位大大。
想請問各位大大,以下3種是傳遞值的方式(如下圖)

想問說,用哪一種會比較好,因為local variable可以用reference的方式去顯現,只是雖然意思結果一樣但是哪一種對程式比較好,就我所知local variable會去佔電腦的記憶體,而reference我就不太清楚了,只是看人家常用reference去取代local variable,所以想請各位大大為小弟解惑比較一下,謝謝各位大大。
根據這裡「http://lavag.org/topic/11108-diffrent-of-property-value-and-local-variable/」的文章,提到:「<span =“apple-style-span” style="color: rgb(28, 40, 55); font-family: arial, verdana, tahoma, sans-serif; line-height: 19px; ">Functionally, they are the same. But the implementation is totally different. A property node will force the front panel to draw and will really slow down your program. Local Variable is faster, but not nearly as fast as a wire, shift register, or terminal.」
耗不資源要如何測我不知道,但是效率(小弟認為執行時間短較有效率)是local variable >> reference > property node.

DonWang40603.4684722222記得之前也有相關討論,以DonWang的觀點來看,我測試10次的結果是local variable> property node > reference

我的系統
