On 4/6/15, Howard Kapustein <Howard.Kapustein at microsoft.com> wrote:
>
> I'm trying to understand (a) if this has been considered,

Did not know that this interface existed until you brought it up :-)

> (b) if it's
> planned,

Not currently planned.

> (c) if I wanted to hack it myself, do the resident experts have
> any implementation advice? Both to make it work, and if it's useful what's
> likeliest to be smoothest to be accepted as a patch.
>

You want to work with the canonical source code files, not the
"sqlite3.c" amalgamation.  From canonical sources, you rebuild the
amalgamation by typing "nmake /f makefile.msc sqlite3.c".  You'll need
to install Tcl (http://tcl.tk/) for the build to work.  The file you
want to edit is "os_win.c".  You can type "nmake /f makefile.msc test"
to run a partial check of your changes.

To be clear: the commands mentioned in the previous paragraph are run
from within a "VS201X x64 Native Tools Command Prompt" window.

If you come up with a patch that does improve performance, we would be
interested in knowing what you did.  But in order to preserve the
"public domain" status of SQLite, we'll probably need to reimplement
the change ourselves, from scratch.  Either that, or we'll have to go
round and round with your lawyers to get a public domain dedication
out of them.  Usually it's easier for us to just reimplement things
ourselves here.
-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to