close

避免在class內部用getter 和 setter

能直接指定值就直接指定

不需要再透過封裝的方法

 

1. 直接指定值會比用getter快7x倍 

01.png

 

arrow
arrow

    RX1226 發表在 痞客邦 留言(0) 人氣()