以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  数组内容对比  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=178037)

--  作者:ljh29206
--  发布时间:2022/6/15 15:28:00
--  数组内容对比
 请教老师

有没高效的代码 来对比数组

2个数组 里面的元素 有300-1000个,

进行1对1 对比, 用 for i  = 0 to n 的方式 要每个都循环, 数组大的时候 需要时间长  ,

请问有没什么高效的方法, 获取到 2个数组中 , 元素 有差异的 个数和

--  作者:有点蓝
--  发布时间:2022/6/15 15:38:00
--  
参考:https://blog.csdn.net/weixin_43136586/article/details/105338154