Skip to main content

slice_pack_for_query

Function slice_pack_for_query 

Source
pub fn slice_pack_for_query(pack: &str, query: &str, top_k: usize) -> String
Expand description

“which symbols to include” problem that hotspot selection can’t solve.

Returns a sliced pack string with just the top-K entries.