SunnySkies
Re:Linked List Problems (2002) [pdf]
on Saturday November 25, 2017 @03:15AM (#15774995)
You're misunderstanding the advice about contiguous. It's not that it's more likely to stay in cache, but if you're accessing data sequentially it's more likely the data you're going to access next is already in cache.
Most (all I've read/looked at) benchmarks in Java have data structures backed by linked lists utterly smashed by things implemented by an array.
There was in the last year or two a good c++ talk where a game or game engine changed their storage to be more array like and got roughly a 30% boost in performance. Memory locality is usually king, which is why linked lists are rarely used.
Re:Ask HN: Women in tech, how do you find non-toxic work environments?
on Tuesday June 06, 2017 @01:04AM (#14494861)
Yeah, I like open offices. It's nice to be able to take off my headphones and ask a question to someone close by. Or just take a break and talk to them about something non work related.
Even if I had a private office I would have my headphones on 80% of the time.
Re:Linux Inside – How the Linux Kernel Works
on Saturday May 27, 2017 @08:11PM (#14432533)
... That guide is actually fucking hilarious.
'However, that’s not too bad, because even the makers of GNU indent recognize the authority of K&R (the GNU people aren’t evil, they are just severely misguided in this matter)'
Re:Ask HN: Kernel Devs, how did you get started?
on Sunday May 07, 2017 @07:24PM (#14288260)
Huh, I was assigned to Windows km development for my first ever internship. I had a decent amount of winternal and cpp experience, but it really is a different ball park and made me a much better computer scientist.