Skip to content

Commit

Permalink
fix allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhb committed Nov 6, 2024
1 parent 545e83d commit a46062f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine_stringmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (n *stringLookup) equalitySearch(ctx context.Context, variable string, inpu

// Iterate through all matching values, and only take those expressions which match our
// current variable name.
filtered := make([]*StoredExpressionPart, len(n.equality))
filtered := make([]*StoredExpressionPart, len(n.equality[hashedInput]))
i := 0
for _, part := range n.equality[hashedInput] {
if part.Ident != nil && *part.Ident != variable {
Expand Down

0 comments on commit a46062f

Please sign in to comment.