[perl #131829] Weird memory leakage of sequences and other things ( (1…∞).grep(* < 0)[^10] )

2017-08-05 Thread Zoffix Znet via RT
On Wed, 02 Aug 2017 03:59:53 -0700, alex.jakime...@gmail.com wrote: > Code: > say (1…∞).grep(* < 0)[^10] > > > Given that all of the values are thrown away by grep, I expect the > memory usage to be constant (even though the code will never finish). > However, it seems that there's a leak somewhe

[perl #131829] Weird memory leakage of sequences and other things ( (1…∞).grep(* < 0)[^10] )

2017-08-05 Thread Zoffix Znet via RT
On Wed, 02 Aug 2017 03:59:53 -0700, alex.jakime...@gmail.com wrote: > Code: > say (1…∞).grep(* < 0)[^10] > > > Given that all of the values are thrown away by grep, I expect the > memory usage to be constant (even though the code will never finish). > However, it seems that there's a leak somewhe

[perl #131829] Weird memory leakage of sequences and other things ( (1…∞).grep(* < 0)[^10] )

2017-08-02 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #131829] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131829 > Code: say (1…∞).grep(* < 0)[^10] Given that all of the values are t