Re:My Favourite Diff
by tzs on Sunday April 05, 2020 @10:09PM
(#22790348)
I have no idea if this still works in modern C, but here's something kind of similar I've seen used in C circa 1986:
used when two cases have a common tail, and you have sufficient space constraints that you do not want to duplicate the common tail code, and you have sufficient time constraints (and maybe space constraints on the stack) that you don't want to put the common tail code in a subroutine and call it from both cases.
[ Parent
| on HN ]
Re:My Favourite Diff
by fisherjeff on Sunday April 05, 2020 @10:47PM
(#22790535)
Oh my god. I’ve wondered about a way to do this but... this is just devious.