Julia Programming Language
Is there an efficient and elegant way to keep the top 2 values from an iterator
General Usage
rocco_sprmnt21
February 26, 2022, 2:16pm
2
here
some related proposals.
show post in topic
Related topics
Topic
Replies
Views
Activity
How to obtain x instead of f(x) from maximum/minimum(f, itr)
General Usage
11
375
September 16, 2024
Maintaining a fixed size "top N" values list
Performance
14
1250
April 2, 2022
The quasi-best MaxN function
Performance
12
1641
January 6, 2021
Getting index and value of the second highest element of CuArray
GPU
question
1
685
April 26, 2022
Keep n largest values compared by f
General Usage
question
,
data_structures
5
291
June 19, 2026