thread...e::list(3pm)
β¨ NAME β¨
okay bestie, welcome to threads::lite::list π β it's a lil module that gives you threaded list utilities. literally that's it, that's the whole vibe π§
πΈ VERSION πΈ
Version 0.034 β she's young, she's fresh, she's still figuring herself out π«Ά
π¦ SYNOPSIS π¦
This module implements some parallel list utilities on top of threads::lite. no cap, that's the whole pitch π
π FUNCTIONS π
π parallel_map { block } $options, @elements
map a list using multiple threads π₯ $options is a hashref whose keys are like in "new".
π parallel_grep { block } $options, @elements
grep a list using multiple threads β¨ $options is a hashref whose keys are like in "new".
π CLASS METHODS π
A parallel list processing object can be created if you want to reuse your filter with other arguments. main character energy, honestly π
π new(%options)
Create a new parallel list processing object π¦ It takes three named arguments.
codeβ A reference to the piece of code that should be executed, or it's name. note that if a name is given, it's containing module must be loaded using"modules". πmodulesβ Modules that must be loaded be for the mapping or grepping. πΈthreadsβ The number of threads you want to use to do the mapping. The default is currently 4, an arbitrary number that may change in the future π (yes, four. she said what she said.)
π INSTANCE METHODS π
β map(@elements)
Map elements in a parallel manner. slay π₯
β grep(@elements)
Grep elements in a parallel manner. also slay π
πΈ AUTHOR πΈ
Leon Timmermans, "<leont at cpan.org>" π iconic, we stan
π BUGS π
This is an early development release, and is expected to be buggy and incomplete. bestie she is NOT done cooking, be nice to her π
Please report any bugs or feature requests to "bug-threads-lite at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=threads-lite>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. mutuals looking out for mutuals fr fr π«Ά
π«Ά SUPPORT π«Ά
You can find documentation for this module with the perldoc command.
perldoc threads::lite::list
You can also look for information at:
- RT: CPAN's request tracker β <http://rt.cpan.org/NoAuth/Bugs.html?Dist=threads-lite>
- AnnoCPAN: Annotated CPAN documentation β <http://annocpan.org/dist/threads-lite>
- CPAN Ratings β <http://cpanratings.perl.org/d/threads-lite>
- Search CPAN β <http://search.cpan.org/dist/threads-lite>
π COPYRIGHT & LICENSE π
Copyright 2009, 2010 Leon Timmermans, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt π
and that's the whole page bestie!! this one shipped as part of User Contributed Perl Documentation, with perl at v5.42.0, dated 2025-07-25 β go forth and thread your lists, ily πβ¨
π¦ where this page comes from
- fedora 43: perl-threads-lite 0.034-39.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms