Skip to content

Conversation

@slahabar
Copy link
Contributor

@slahabar slahabar commented Oct 6, 2021

…er specified baseline

@jackgerrits jackgerrits merged commit ee4133c into VowpalWabbit:master Oct 7, 2021
all->example_parser->metrics->DsjsonSumCostOriginalFirstSlot += interaction.originalLabelCostFirstSlot;

std::vector<std::string> enabled_reductions;
if (all->l != nullptr) { all->l->get_enabled_reductions(enabled_reductions); }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be a severe perf hit

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be on the parser, on metrics.cc it gets executed once, here it gets executed per line, asking recursively to the parser to generate the stack names

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in #3377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants