Sujet : Re: Fixing a sample from K&R book using cake static analyser
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 24. Jun 2024, 01:31:25
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5aeot$j1nj$2@dont-email.me>
References : 1 2 3 4 5
User-Agent : Pan/0.158 (Avdiivka; )
On Mon, 24 Jun 2024 01:59:40 +0300, Anton Shepelev wrote:
I thought the challenge was to fix it as a single function.
I don’t know of any “challenge”, I just saw some code that could be
improved, and so I improved it.
I am pretty sure that disposal of table entries would be needed as a
separate function in a more complete lookup-table implementation, which is
why I factored it out at this point.