With everything that routine does, the extra initialization negatively impacts 
operation?

-----Original Message-----
From: sqlite-users-bounces at mailinglists.sqlite.org 
[mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Richard Hipp
Sent: Thursday, March 24, 2016 10:50 AM
To: SQLite mailing list <sqlite-users at mailinglists.sqlite.org>
Subject: Re: [sqlite] Article about pointer abuse in SQLite

On 3/24/16, Simon Slavin <slavins at bigfraud.org> wrote:
>
> I want the next generation of compilers to require that the programmer 
> specify an initial value (a constant, not a calculated
> value) for every variable they define, including every array element 
> when they define an array.

At https://www.sqlite.org/src/info/03b2a622?ln=3553-3560 is just one example 
where unnecessary local variable initialization has a large performance impact. 
 There are *many* other such examples in SQLite.
This one just has the best comment.
--
D. Richard Hipp
drh at sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users at mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


This email and any attachments are only for use by the intended recipient(s) 
and may contain legally privileged, confidential, proprietary or otherwise 
private information. Any unauthorized use, reproduction, dissemination, 
distribution or other disclosure of the contents of this e-mail or its 
attachments is strictly prohibited. If you have received this email in error, 
please notify the sender immediately and delete the original.

Reply via email to