I tried to isolate struct vs class access with this simple benchmark: require "benchmark" class C getter :x, :y def initialize(@x : Float32, ...
確定! 回上一頁