摘要:
栈,用处很多,程序的中断等;FILO或LIFO,first in last out,last in first out 栈,有两种实现方法,一个是通过数组Array,另一个是通过链表Linked list。 通过Array 优点 缺点 通过Linked list实现 优点 缺点 人生如茶需慢品 阅读全文
摘要:
advantage of using array 第一个优点的意思,数组有更高的缓存位置(cache locality,这样子翻译好别扭),会产生很大的差异,在性能上。cache locality链接:https://en.wikipedia.org/wiki/Locality_of_referen 阅读全文