So, read_file_to_string, open_string, phrase_from_stream is faster than phrase_from_file? That surprised me, but shows how unintuitive it can be to speed up code.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Pure QOI (Quite Ok Image) format implementation | 30 | 311 | September 14, 2024 | |
| Read_stream_to_codes | 15 | 1628 | March 25, 2020 | |
| Using DCGs for reading and writing in shell "pipes" | 6 | 981 | December 28, 2019 | |
| Phrase_from_file vs phrase | 29 | 2977 | September 14, 2020 | |
| A tokeniser I've written. Any suggestions on how to improve it? | 28 | 3073 | April 3, 2019 |