Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the execution time of the unique method (#39822)
* Optimize the execution time of the unique method When passing a large array, the unique method is very slow. This modification can increase the speed by hundreds of times, and it is also suitable for most scenarios. * Optimize the execution time of the unique method * Update Collection.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information