Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 247 Bytes

go_memory_management.md

File metadata and controls

24 lines (13 loc) · 247 Bytes

go memory management

bool byte rune :可连续(同一个64位内部)

slice 、struct 类型内存分配连续

  • empty struct

string: 16 B

slice: 24 B

interface{}

  • tab ->
  • data -> Binary

goroutine

new

make