Java 字节数组 对比 低速 指针快速
摘要:
如何才能快速比较两个字节数组呢?我将问题描述成下面的接口: public int compareTo(byte[] b1, int s1, int l1, byte[] b2, int s2,int l2); 最直观的做法是同时遍历两个数组,两两比较。 public int... 阅读全文
posted @ 2012-08-03 13:27 王大王 阅读(585) 评论(0) 推荐(0)
posted @ 2012-08-03 13:27 王大王 阅读(585) 评论(0) 推荐(0)