loophp / collection

A (memory) friendly, easy, lazy and modular collection class.
https://loophp-collection.rtfd.io/
MIT License
721 stars 35 forks source link

refactor: remove obsolete `All` class #338

Closed drupol closed 7 months ago

drupol commented 7 months ago

Today, thanks to @dantleech (in https://www.dantleech.com/blog/2024/02/18/my-php-problems/), I discovered that iterator_to_array had a second parameter bool $preserve_keys = true...

Therefore, this PR improve the overall performance of this library.

what-the-diff[bot] commented 7 months ago

PR Summary