in reply to How to avoid string copies in function calls?
Are there other ways to avoid string copies besides using references?
No. Well there are aliases ( ex for my $alias ( $foo, @_ ){ } ) but they're essentially references
Does it make sense to submit enhancement requests to these standard modules to have the possibility to get the result by reference?
Sure, as long as you don't offer your benchmark with the suggestion, because it is not Coping with Scoping
|
|---|