我想创建一个1D NumPy数组,该数组由1000个背对背重复的另一个1D数组组成,不需要复制1000次数据.
可能吗?
如果它有帮助,我打算将两个数组都视为不可变.
python memory numpy large-data
large-data ×1
memory ×1
numpy ×1
python ×1