Re: define pg_structiszero(addr, s, r) - Mailing list pgsql-hackers

From Peter Smith
Subject Re: define pg_structiszero(addr, s, r)
Date
Msg-id CAHut+Pu9Un427eoPuEetNhk2PZe1-sgSxEuG_2OuTwtxC3cBOw@mail.gmail.com
Whole thread Raw
In response to Re: define pg_structiszero(addr, s, r)  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
+/*
+ * Test if a memory region starting at p and of size len is full of zeroes.
+ */
+static inline bool
+pg_mem_is_all_zeros(const void *ptr, size_t len)

The function comment should say 'ptr' instead of 'p', right?

======
Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Raghuveer Devulapalli
Date:
Subject: Re: Popcount optimization using AVX512
Next
From: Nathan Bossart
Date:
Subject: Re: Popcount optimization using AVX512