On Wed, Apr 2, 2014 at 6:57 PM, Dominique Devienne <ddevie...@gmail.com>wrote:
> runtime, and parsing differently, avoid std::string, might reap more > benefits. > A related tip not yet mentioned: if your strings will outlive their statements' next insertion step(), you can use SQLITE_TRANSIENT instead of SQLITE_STATIC with sqlite3_bind_text() to avoid that sqlite3 makes a copy of those strings. It will simply use your bytes as-is. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users