This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何提高乱序搬移数据的执行速度



比如:输入数据的顺序是:   1     2     3     4     5     6     7      8      9.....

重排的图案是固定不变,通过重排变成这样:  5   1   4    2    6    3    8   11   7 ....

现在是采用按每个字节重排实现输出的,但是执行时间比较慢。另外,就是在simulator跑的比较快,和开发板上运行时间相差15倍以上。

请问有没有比较好的优化方法?simulator和开发板运行时间差距大的原因?