vector sizes

streaming wip
This commit is contained in:
euzu
2025-01-09 13:31:05 +01:00
parent ca9a8fea79
commit 1718e6d52c
12 changed files with 29 additions and 28 deletions
+2 -1
View File
@@ -308,11 +308,12 @@ impl MappingValueProcessor<'_> {
.map(|caps| caps.as_str())
.collect::<Vec<&str>>();
let mut captured_tag_values: Vec<&str> = Vec::with_capacity(128);
for tag_capture in tag_captures {
for mapping_tag in &self.mapper.t_tags {
if mapping_tag.name.eq(tag_capture) {
// we have the right tag, now get all captured values
let mut captured_tag_values: Vec<&str> = Vec::new();
captured_tag_values.clear();
for cap in &mapping_tag.captures {
if let Some(cap_value) = captures.get(cap.as_str()) {
captured_tag_values.push(cap_value);