From ab607fc39b6dfc766f7481c33e5f1cf35a2f55d9 Mon Sep 17 00:00:00 2001 From: stderr64 Date: Thu, 24 Oct 2024 23:04:43 +0300 Subject: Recreated repository --- bigarray/bigarray.pl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 bigarray/bigarray.pl (limited to 'bigarray/bigarray.pl') diff --git a/bigarray/bigarray.pl b/bigarray/bigarray.pl new file mode 100755 index 0000000..6e662f1 --- /dev/null +++ b/bigarray/bigarray.pl @@ -0,0 +1,21 @@ +#!/usr/bin/perl +use POSIX; + +my @bigarray = (); + +my $acount = 0; + +for ( ; $acount < 500000; $acount++ ){ + push( @bigarray, $acount ); +} + +$acount = 0; + +for ( ; $acount < 500000; $acount++ ){ + print( $bigarray[$acount]."\n" ); +} + +undef $acount; +undef @bigarray; + +exit( 0 ); -- cgit v1.2.3-95-g76ab