【发布时间】:2016-01-18 13:23:58
【问题描述】:
我有三个长度为 40000 的 bytearray。我想将字节数组 1 的 bytearray 索引 0,1、bytearaay2 的索引 0,1 和 bytearray3 的索引合并到 40000 长度。
像这样:
场景:
a1[0]a1[1]a2[0]a2[1]a3[0]a3[1]a1[2]a1[3]a2[2]a2[3]a3[2]a3[3] ...
and then so on up to 40000.
所以最后我想将 3 字节数组合并为单个作为一对分组。
【问题讨论】:
-
一个非常简单的循环有什么问题?