bug-gnutrition
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnutrition] [MERGE] Make prepared SQL statements only one time each


From: Calvin Heim
Subject: [bug-gnutrition] [MERGE] Make prepared SQL statements only one time each.
Date: Sun, 24 Apr 2016 00:33:20 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

This merge request is for the C_Development branch.

I noticed that the sql prepared statements were being recompiled for
every parsed line. These changes reduce compilation to once per input
file. For me, these changes reduce the time needed to create the
database file from the source text files by about two thirds.

Also, this is my first time using bazaar or submitting actual code
changes to a project for review. Be warned! :D

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]