News for hackers. Stuff that matters.
Re:Data Science at the Command Line by utefan001 on Saturday January 27, 2018 @02:11PM (#16247566)
sort | uniq -c | sort -n example in chapter 5 is something I use a lot. Do you typically use Mac or Linux? The way Mac does threading made sort 16 times slower on 1GB+ size files compared to my $300 old Lenovo laptop running Ubuntu.
Re:Data Science at the Command Line by vondur on Saturday January 27, 2018 @05:25PM (#16248452)
Have you tried installing it from homebrew? brew install coreutils This assumes you have brew installed.
Re:Data Science at the Command Line by utefan001 on Saturday January 27, 2018 @06:06PM (#16248620)
Yea, same issue with gnu coreutils. Mac uses a fairness threading algorithm, causing lots of time to be wasted deciding whose turn it is.

https://stackoverflow.com/questions/28888719/multi-threaded-...