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