sqlite-statement CTFE Generation (UniformAccess) / Benchmark

Robert Schadek realburner at gmx.de
Tue Apr 15 10:23:22 PDT 2014


On 04/15/2014 07:05 PM, Dicebot wrote:
> Some quick observations:
>
> 1) toStringz(insertStmt) -> as inserStmt is actually a string literal,
> no need to use toStringz, literals are alway null-terminated.
did not know that. Thanks
>
> 2) in block immediately after `throw` has extra level of indentation
will check
>
> 3) excessive sqlite3_finalize(stmt), one from first scope(exit) should
> have been enough
will check
>
> Will read actual article a bit later :P



More information about the Digitalmars-d-announce mailing list