来源:https://stackoverflow.com/questions/43522226/does-ruby-create-a-copy-when-referencing-an-array-with-its-slice-method 标签 arrays ruby memory slice