Subject: Re: CVS commit: src/sys/kern
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: source-changes
Date: 06/23/2006 17:21:06
yamt@mwd.biglobe.ne.jp said:
> i intentionally avoided to use memset. this kind of optimization makes
> code cryptic, IMO

Sorry, didn't want to step onto your feet.
It is a matter of taste of course, but there is definitely
a threshold where everyone would prefer a memset over
N individual zero initializations.
(And the menset makes sure that nothing is forgotten. Better
wrongly zero-inited than random.)

> please put a comment

OK, I'll do so.

best regards
Matthias