Skip to content

Implement disjoint method for traversable - #86

Merged
akondas merged 1 commit into
munusphp:masterfrom
akondas:disjoint
Apr 10, 2024
Merged

Implement disjoint method for traversable#86
akondas merged 1 commit into
munusphp:masterfrom
akondas:disjoint

Conversation

@akondas

@akondas akondas commented Apr 10, 2024

Copy link
Copy Markdown
Member

No description provided.

}

$iterator = $traversable->getIterator();
while ($iterator->hasNext()) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a small potential for optimization here ... 🤔 we could check which one is smaller 🤔

@akondas
akondas merged commit 8f9ebc9 into munusphp:master Apr 10, 2024
@akondas
akondas deleted the disjoint branch April 10, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant