News for hackers. Stuff that matters.
Re:Go is not an easy language by simiones on Monday February 22, 2021 @02:48PM (#26229579)
"List" is usually a generic term for any data structure that can hold many items, and that has an API for adding or removing items. This can be implemented using an array, a linked-list, a hasthable, or a more advanced data structure.

Also, in languages with GCs, linked lists do not necessarily cause more cache misses than arrays, due to the way allocation works (this is especially true if you have a compacting GC, but bump-pointer allocation often makes it work even when you don't).

There are no comments on this comment yet.