On 6/2/20 3:32 AM, BoQsc wrote:
I want to read a file, put it into an array, make some search and
replace on the content and output the modified text. However Associative
Arrays seem to be unsorted by default. Should I drop the Associative
Arrays and use something else? What are the ways to
On 6/2/20 12:32 AM, BoQsc wrote:
> I want to read a file, put it into an array, make some search and
> replace on the content and output the modified text.
How large is the data? If it fits into memory, just read the whole
thing, update it, sort the keys, and then output like this:
import
On Tuesday, 2 June 2020 at 07:32:56 UTC, BoQsc wrote:
I want to read a file, put it into an array, make some search
and replace on the content and output the modified text.
However Associative Arrays seem to be unsorted by default.
Should I drop the Associative Arrays and use something else?
I want to read a file, put it into an array, make some search and
replace on the content and output the modified text. However
Associative Arrays seem to be unsorted by default. Should I drop
the Associative Arrays and use something else? What are the ways
to resolve this randomness in