ENH: Optimized SparseFormatter._parse_feature_str