SQLite to replace fopen() -


i have heard sqlite designed replace fopen() (1, 2) , hence faster read or write file disk in cases using sqlite rather fopen(). explain might cause it? assuming sqlite not use ram.

i think don't quite "get" richard hipp means statement. of course under hood sqlite use fopen(3) system call, can not faster. rather opening raw file (e.g. fopen) , implementing own structure , access functions (therefore ending implementing nih db @ point), better off using sqlite api optimized death , therefore faster come in reasonable time.

of course applies when persisted data structures have complexity. simple files text files you're still better off fopen.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -