Reduced the amount of go-routines. Now sorting is done in the same go-routine as URLs are fetched. Then these sorted lists are merged one by one in a loop as they arrive. This greatly reduces complexity. |
||
|---|---|---|
| src | ||
| .gitignore | ||
| go-challenge.txt | ||
Reduced the amount of go-routines. Now sorting is done in the same go-routine as URLs are fetched. Then these sorted lists are merged one by one in a loop as they arrive. This greatly reduces complexity. |
||
|---|---|---|
| src | ||
| .gitignore | ||
| go-challenge.txt | ||