Skip to content

Commit ebca72e

Browse files
writer: use 'halve' instead of 'half' (#1273)
1 parent b2b17ac commit ebca72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ func (w *Writer) WriteMessages(ctx context.Context, msgs ...Message) error {
635635
}
636636
}
637637

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

0 commit comments

Comments
 (0)