Re: Multi-threaded sorting of text file

2020-01-04 Thread Ali Çehreli via Digitalmars-d-learn
On 1/3/20 11:51 PM, MGW wrote: Need help: There' s a large text file (hundreds of thousands of lines). How long are the lines? If 1K bytes, 100M would fit in memory just fine. There is a parallel quick sort example on the std.parallelism page: https://dlang.org/phobos/std_parallelism.html

Re: Multi-threaded sorting of text file

2020-01-04 Thread Alex via Digitalmars-d-learn
On Saturday, 4 January 2020 at 07:51:49 UTC, MGW wrote: Need help: There' s a large text file (hundreds of thousands of lines). The structure is as follows: 2345|wedwededwedwedwe .. 872625|rfrferwewweww . 23|rergrferfefer It is necessary to sort this file by the

Multi-threaded sorting of text file

2020-01-03 Thread MGW via Digitalmars-d-learn
Need help: There' s a large text file (hundreds of thousands of lines). The structure is as follows: 2345|wedwededwedwedwe .. 872625|rfrferwewweww . 23|rergrferfefer It is necessary to sort this file by the first field having received: 23|rergrferfefer...