From 1a70575220391014cda8f7459979a6ca0bcd3787 Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Sat, 16 Oct 2021 13:57:23 +1300 Subject: Improve comments and readme. --- parse.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index 8704298..a9d7b70 100644 --- a/parse.c +++ b/parse.c @@ -8,11 +8,9 @@ static const Parsev *internparsev(Parsev *p) { for equality, even on pointer values, this works because the pointers themselves are also interned. - This simplicity somes with one big cost - Parsev variants with padding - can trigger a false positive on valgrind. It should still safe - because reading these undefined bytes do not change the behavior of the - program. The best fix is still to avoid the padding bytes in the Parsev - variant layout using a tool such as 'pahole'. + This simplicity comes with one big cost - Parsev variants with padding + can trigger a false positive on valgrind. It should still be safe, + but the best fix is still to avoid the padding bytes in the Parsev variants. */ size_t idx; const Parsev *interned; -- cgit v1.2.3