pub fn condense_str(s: &str) -> StringExpand 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.