摘要: 《程序员自我修养》 笔记 温故而知新 平坦内存模型存在的问题 进程之间地址空间不隔离 多进程时, 内存碎片多(分页), 内存利用效率低(缓存命中率) 程序运行的地址空间不确定 分段 提高缓存命中率 读写权限隔离 提高内存利用效率(多个运行的线程可以共享一份代码段) 分页 提高内存利用率,减少内存碎片 阅读全文
posted @ 2018-06-11 20:35 joeylee97 阅读(305) 评论(0) 推荐(0) 编辑
摘要: Given n non negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文
posted @ 2018-06-11 10:06 joeylee97 阅读(129) 评论(0) 推荐(0) 编辑