condense_str

Function condense_str 

Source
pub fn condense_str(s: &str) -> String
Expand description

Efficiently removes all duplicate characters from a string, returning a new String.

This implementation uses a bitset for ASCII characters to achieve O(n) time complexity and minimal overhead.