fix typo in readme (#620)

This commit is contained in:
Ahmed Ashraf
2025-04-13 01:19:30 +03:00
committed by GitHub
parent 3f3aab7a26
commit 2bc3746616

View File

@@ -4052,7 +4052,7 @@ ok github.com/samber/lo 6.657s
```
- `lo.Map` is way faster (x7) than `go-funk`, a reflection-based Map implementation.
- `lo.Map` have the same allocation profile than `for`.
- `lo.Map` has the same allocation profile as `for`.
- `lo.Map` is 4% slower than `for`.
- `lop.Map` is slower than `lo.Map` because it implies more memory allocation and locks. `lop.Map` will be useful for long-running callbacks, such as i/o bound processing.
- `for` beats other implementations for memory and CPU.