develooper Front page | perl.perl6.users | Postings from February 2019

reassigning values to variables question

Thread Next
ToddAndMargo via perl6-users
February 4, 2019 05:35
reassigning values to variables question
Message ID:
Hi All,

If I have a variable of type Buf which 10000000 bytes in it
and I find the five bytes I want, is it faster, slower,
or no difference in speed to overwrite the same variable
with the five bytes?  Or is it faster to put the five bytes
from the first variable into a second variable?

Many thanks,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About