Skip to content

Commit 0f05dbe

Browse files
committed
README upd
1 parent 0c59fee commit 0f05dbe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ composer test
2424

2525
#### Range-based for (python-like)
2626

27+
unlike the built-in function `range()`, `xrange()` does not create an array, but a generator
28+
that takes up a small amount of memory, regardless of the number of elements in the sequence.
29+
2730
```php
2831
use function Smoren\Sequence\Functions\xrange;
2932

0 commit comments

Comments
 (0)