Skip to content

Commit

Permalink
writer: use 'halve' instead of 'half' (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinburkesegment committed Mar 9, 2024
1 parent b2b17ac commit ebca72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ func (w *Writer) WriteMessages(ctx context.Context, msgs ...Message) error {
}
}

// We use int32 here to half the memory footprint (compared to using int
// We use int32 here to halve the memory footprint (compared to using int
// on 64 bits architectures). We map lists of the message indexes instead
// of the message values for the same reason, int32 is 4 bytes, vs a full
// Message value which is 100+ bytes and contains pointers and contributes
Expand Down

0 comments on commit ebca72e

Please sign in to comment.