Status Updates From Ultimate Go Notebook
Ultimate Go Notebook by
Status Updates Showing 1-30 of 45
上杉夏香
is on page 70 of 352
receiver semantics && builtin types receiver should be value receiver
— Jan 07, 2024 10:08PM
Add a comment
上杉夏香
is on page 147 of 352
study the pattern of channel: fan out/in、cancel、drop
— Sep 06, 2023 05:56AM
Add a comment
上杉夏香
is on page 143 of 352
study mutex and channel, especially the pattern of channel
— Sep 04, 2023 06:21PM
Add a comment
上杉夏香
is on page 108 of 352
interface pollution,我们要牢记:开发者并非创造了interface,而是发现interface。
— Aug 30, 2023 01:38AM
Add a comment
上杉夏香
is on page 96 of 352
Don’t design with interfaces, discover them". - Rob Pike
— Aug 29, 2023 08:17AM
Add a comment
上杉夏香
is on page 80 of 352
value pointer receiver.
作者一直强调 value/pointer semantic,包括之前在 range 时,以及现在的 method receiver。
— Aug 29, 2023 04:41AM
Add a comment
作者一直强调 value/pointer semantic,包括之前在 range 时,以及现在的 method receiver。
上杉夏香
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
Add a comment
做了三个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.
上杉夏香
is on page 42 of 352
看完第二章,大概的讲解了一些知识点,比如gc、iota、pass by value、escape analysis、assign、padding & alignment
— Aug 25, 2023 02:57AM
Add a comment


