]> granicus.if.org Git - php/commit
MFB: More optimizations - less MM calls
authorAndrey Hristov <andrey@php.net>
Mon, 28 Jan 2008 18:27:49 +0000 (18:27 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 28 Jan 2008 18:27:49 +0000 (18:27 +0000)
commit18c8e6501b2c1f9fc96dda7c2304523d46bf13a4
treef41112affbf103b699c603b36e354be143969cc3
parent618a29411d2f58a9bf55488f2d7220639ec92c23
MFB: More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
18 files changed:
ext/mysqli/mysqli.c
ext/mysqli/mysqli_mysqlnd.h
ext/mysqli/mysqli_nonapi.c
ext/mysqli/mysqli_prop.c
ext/mysqli/php_mysqli_structs.h
ext/mysqli/tests/mysqli_get_client_stats.phpt
ext/mysqlnd/mysqlnd.c
ext/mysqlnd/mysqlnd.h
ext/mysqlnd/mysqlnd_enum_n_def.h
ext/mysqlnd/mysqlnd_libmysql_compat.h
ext/mysqlnd/mysqlnd_priv.h
ext/mysqlnd/mysqlnd_ps.c
ext/mysqlnd/mysqlnd_result.c
ext/mysqlnd/mysqlnd_result.h
ext/mysqlnd/mysqlnd_result_meta.c
ext/mysqlnd/mysqlnd_structs.h
ext/mysqlnd/mysqlnd_wireprotocol.c
ext/mysqlnd/mysqlnd_wireprotocol.h