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
commitb3a6eca56a296f8a280152acdec4f2ba0d27ed45 (patch)
treec7e55c90b8da9656b7bb2b9467f183842bed6aae /cop.h
parent1e46e1c93a052791cc414dad1fd4477575793d8f (diff)
downloadperl-b3a6eca56a296f8a280152acdec4f2ba0d27ed45.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) \