projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7717232
)
5% speedup in an empty loop
author
Ilya Zakharevich
<ilya@math.berkeley.edu>
Sun, 15 Feb 1998 17:49:46 +0000
(12:49 -0500)
committer
Malcolm Beattie
<mbeattie@sable.ox.ac.uk>
Fri, 20 Feb 1998 12:37:11 +0000
(12:37 +0000)
p4raw-id: //depot/perl@545
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
593667d
..
d622b0e
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-4825,6
+4825,8
@@
peep(register OP *o)
case OP_AND:
case OP_OR:
o->op_seq = op_seqmax++;
+ while (cLOGOP->op_other->op_type == OP_NULL)
+ cLOGOP->op_other = cLOGOP->op_other->op_next;
peep(cLOGOP->op_other);
break;