search for: topn

Displaying 2 results from an estimated 2 matches for "topn".

Did you mean: top
2007 Aug 31
3
by group problem
...each county that are over 65 County - the county in each state State - the state in the US There are about 3100 rows, with each row corresponding to a county within a state. I want to return the top five "PercentOld" by state. But I want the County and the Value. I tried this... topN <- function(column, n=5) { column <- sort(column, decreasing=T) return(column[1:n]) } top5PerState <- tapply(data$percentOld, data$STATE, topN) But this only returns the value for "percentOld" per state, I also want the corresponding County. I think I'm close,...
2019 Sep 12
6
PGO is ineffective for Rust - but why?
Hi everyone, As part of my work for Mozilla's Low Level Tools team I've implemented PGO in the Rust compiler. The feature is available since Rust 1.37 [1]. However, so far we have not seen any actual performance gains from enabling PGO for Rust code. Performance even seems to drop 1-3% with PGO enabled. I wonder why that is and I'm hoping that someone here might have experience