in reply to Re^2: Combinations of lists, etc (updated)
in thread Combinations of lists to a hash
My hours of messing around was a secondary consideration in this case, because I thought loading a module would be slightly less efficient than in-line code, especially for this regularly hit situation (i.e. every page load on my website).
Yes, the code could certainly be inlined, hence the ::Tiny. Although depending on how many items you're generating, a speed boost in generating combinations by a factor of roughly 10x can be achieved with XS modules such as Set::Product::XS.
Don't forget to include me in the credits. My name is spelt: "Some Kiwi Novice @ PerlMonks".
Done :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Combinations of lists, etc
by tel2 (Pilgrim) on Oct 07, 2019 at 19:57 UTC |