Skip to content

Conversation

@asinghvi17
Copy link
Contributor

@asinghvi17 asinghvi17 commented Apr 30, 2025

Jeff and Oscar agree this should be equivalent (and precompilable!). It uses Base.isiterable instead.

This also adds a fast path checking eltype if at all possible. Only if the eltype is not Any do we use the fast path. But that should ideally also cut down the time taken to construct a priority queue.

Jeff and Oscar agree this should be equivalent (and precompilable!)
@oxinabox
Copy link
Member

oxinabox commented May 1, 2025

It would be good if the coverage was complete

@asinghvi17 asinghvi17 closed this May 1, 2025
@asinghvi17 asinghvi17 reopened this May 1, 2025
@asinghvi17 asinghvi17 requested a review from oxinabox May 1, 2025 11:27
@oxinabox oxinabox merged commit 9abe6a2 into JuliaCollections:master May 2, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants