cvs: pecl /apc apc_optimizer.c

From: Date: Thu, 26 Jun 2003 15:12:29 +0000
Subject: cvs: pecl /apc apc_optimizer.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-323@lists.php.net to get a copy of this message
gschlossnagle Thu Jun 26 11:12:29 2003 EDT Modified files: /pecl/apc apc_optimizer.c Log: post_inc/dec conversion is still causing sever slowdowns (benched against smarty) Index: pecl/apc/apc_optimizer.c diff -u pecl/apc/apc_optimizer.c:3.15 pecl/apc/apc_optimizer.c:3.16 --- pecl/apc/apc_optimizer.c:3.15 Thu Jun 26 04:50:26 2003 +++ pecl/apc/apc_optimizer.c Thu Jun 26 11:12:29 2003 @@ -698,14 +698,14 @@ jumps = build_jump_array(op_array); for (i = 0; i < op_array->last; i++) { Pair* p; - +/* For some reason this optimization _still_ causes a major slowdown if ((p = peephole_inc(op_array->opcodes, i, op_array->last))) { if (!are_branch_targets(cdr(p), jumps)) { rewrite_inc(op_array->opcodes, p); } RESTART_PEEPHOLE_LOOP; } - +*/ if ((p = peephole_print(op_array->opcodes, i, op_array->last))) { if (!are_branch_targets(cdr(p), jumps)) { rewrite_print(op_array->opcodes, p);

« previous php.pecl.cvs (#323) next »