On 3/24/16, Marc L. Allen <mlallen at outsitenetworks.com> wrote:
> With everything that routine does, the extra initialization negatively
> impacts operation?
>

It did when I put in that comment in 2009.  At that point in time, the
routine was very hot.  Subsequent optimizations have enabled us to
completely bypass that routine.  The code in question now only runs as
a verification step when compiled with -DSQLITE_DEBUG.  So these days
the initialization does not matter.

But the point is the same.  Sometimes an unnecessary initialization in
a hot routine can make a big difference in performance.

-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to