Help optimize D solution to phone encoding problem: extremely slow performace.
Renato
renato at athaydes.com
Wed Jan 17 10:43:22 UTC 2024
On Wednesday, 17 January 2024 at 10:24:31 UTC, Renato wrote:
>
> It's not Java writing the file, it's the bash script
> [`benchmark.sh`](https://github.com/renatoathaydes/prechelt-phone-number-encoding/blob/master/benchmark.sh#L31):
>
> ```
> java -cp "build/util" util.GeneratePhoneNumbers 1000 >
> phones_1000.txt
> ```
>
Perhaps using this option when running Java will help:
```
java -DFile.Encoding=UTF-8 ...
```
More information about the Digitalmars-d-learn
mailing list