chapter_array_and_linkedlist/ram_and_cache/ #967
Replies: 12 comments 17 replies
-
那么问题来了,未来的数字生命是存在哪种介质中的呢? |
Beta Was this translation helpful? Give feedback.
-
Quote: 内存是有限的,且同一块内存不能被多个程序共享 |
Beta Was this translation helpful? Give feedback.
-
数组的存储空间是连续 指的是在 虚拟内存上,然而,在物理内存中,数组可能并不连续。虚拟内存到物理内存的映射涉及到分页(paging)技术。 |
Beta Was this translation helpful? Give feedback.
-
请问一下 手机缓存也会断电后数据会丢失吗? |
Beta Was this translation helpful? Give feedback.
-
太喜欢整本书的绘图了,比如这里的图 4-10,请问这是什么风格?这都是自己绘制的吗? |
Beta Was this translation helpful? Give feedback.
-
可以增加个 lru 缓存 楼主大大 用链表的那种,我可以给你复制上去 😁 |
Beta Was this translation helpful? Give feedback.
-
非常好的解释了为什么数组的效率会高很多,谢谢,之前一直不知道为什么C语言就快速,应该是因为C操作数组的能力很强(缓存命中率会高和内存中的memory碎片化),现在从这方面理解,Python的数组都是list,实际上是动态数组,会比C慢,当然C快应该还有很多其他的因素。 |
Beta Was this translation helpful? Give feedback.
-
太厉害了, 语言组织能力好强, 终于懂了大一没学明白的内存 |
Beta Was this translation helpful? Give feedback.
-
该章节涉及计算机系统和计算机组成原理,推荐《深入理解计算机系统》。 |
Beta Was this translation helpful? Give feedback.
-
各位道友好: |
Beta Was this translation helpful? Give feedback.
-
chapter_array_and_linkedlist/ram_and_cache/
动画图解、一键运行的数据结构与算法教程
https://www.hello-algo.com/chapter_array_and_linkedlist/ram_and_cache/
Beta Was this translation helpful? Give feedback.
All reactions