RegularNotes icon indicating copy to clipboard operation
RegularNotes copied to clipboard

int类型在32位系统上应该是4字节吧

Open bxy111 opened this issue 4 years ago • 0 comments

先来看看struct,这个Node在内存的空间中的存储,是通过对齐的方式存储的,也就是说,next指针占最大的空间存储,一般在64位系统占的是8位,int占4位,而在32位系、统占的是2位,指针占4位

bxy111 avatar Sep 19 '20 07:09 bxy111