Just another Perl shrine | |
PerlMonks |
Re: Fast string constructionby johngg (Canon) |
on Apr 07, 2011 at 13:59 UTC ( [id://898065]=note: print w/replies, xml ) | Need Help?? |
I wonder if you could use vec instead. I don't think you would need to initialise the string then as it would, I think, be automatically extended at need. I think it also stores bits in the same order as pack q{N}, ...
I hope this is useful. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|