上杉夏香’s Reviews > Ultimate Go Notebook > Status Update

上杉夏香
上杉夏香 is on page 45 of 352
开头就讲了CPU Cache 与 Cache Line。

做了三个benchmark:分别是遍历linked-list、行方向遍历矩阵、列方向遍历矩阵。

让我惊奇的是,遍历linked-list比列向遍历矩阵还快,更准确的说,它只比行向遍历矩阵慢一些

> The linked list is twice as slow as the row traversal mainly because there are cache line misses but fewer TLB (Translation Lookaside Buffer) misses. A bulk of the nodes connected in the list exist inside the same OS pages.
Aug 25, 2023 03:32AM
Ultimate Go Notebook

flag

上杉夏香’s Previous Updates

上杉夏香
上杉夏香 is on page 77 of 352
知道data semantics,便能明了data behavior
Jan 08, 2024 09:11PM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 75 of 352
Jan 08, 2024 04:12AM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 70 of 352
receiver semantics && builtin types receiver should be value receiver
Jan 07, 2024 10:08PM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 68 of 352
Jan 07, 2024 09:12PM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 41 of 352
chapter 2 看完了
Dec 22, 2023 02:24AM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 32 of 352
padding and alignment
Dec 22, 2023 01:05AM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 28 of 352
重新看一遍
Dec 21, 2023 09:11PM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 204 of 352
begin study profile code
Sep 08, 2023 01:32AM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 168 of 352
begin study the benchmark
Sep 07, 2023 05:51AM
Ultimate Go Notebook


上杉夏香
上杉夏香 is on page 164 of 352
study testing
Sep 07, 2023 05:30AM
Ultimate Go Notebook


No comments have been added yet.