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