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
129
September 16, 2024
Maintaining a fixed size "top N" values list
Performance
14
875
April 2, 2022
The quasi-best MaxN function
Performance
12
1382
January 6, 2021
Getting index and value of the second highest element of CuArray
GPU
question
1
601
April 26, 2022
Package for partial sorting output iterator
General Usage
question
,
sort
7
115
July 10, 2025