为了获得唯一值,我会本能地使用 array_unique 但经过考虑我可以执行 array_flip 两次会产生相同的效果,我认为它会更快? array_unique O(n log n) 因为它使用了排序 ...
確定! 回上一頁