On Fri, Mar 13, 2020 at 11:19:17AM -0700, Paul E. McKenney wrote: > Another approach would be to terminate with a NULL pointer, or with the > end of the array, as the case may be. That's the basic idea, but you want to be able to append a pointer in O(1) time, and a simple null-termination requires a linear search. It's obfuscation for negligible gain, however, so I'm sorry I bothered mentioning it.