summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>1998-06-24 22:26:48 +0200
committerGurusamy Sarathy <gsar@cpan.org>1998-06-28 19:44:19 +0000
commit89ea29081d863efc8d483f9cbe1c4e1dbb831359 (patch)
treec7e55c90b8da9656b7bb2b9467f183842bed6aae /cop.h
parent95a449b8d7e85665d931cb07abe3a369141c3170 (diff)
downloadperl-89ea29081d863efc8d483f9cbe1c4e1dbb831359.tar.gz
Optimize foreach (1..1000000)
Message-ID: <m3lnqmwt93.fsf@furu.g.aas.no> p4raw-id: //depot/perl@1239
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cop.h b/cop.h
index 803be293a2..4e14c88172 100644
--- a/cop.h
+++ b/cop.h
@@ -114,7 +114,8 @@ struct block_loop {
SV * itersave;
SV * iterlval;
AV * iterary;
- I32 iterix;
+ IV iterix;
+ IV itermax;
};
#define PUSHLOOP(cx, ivar, s) \