摘要: 完美数 阅读全文
posted @ 2019-03-10 18:13 papering 阅读(217) 评论(0) 推荐(0)
摘要: http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/ http://www.ruby-lang.org/en/documentation/ruby-from-other-lan 阅读全文
posted @ 2019-03-10 16:22 papering 阅读(196) 评论(0) 推荐(0)
摘要: 小结: 1、只要可以对标准输入输出进行操作,那么无论任何语言都可以编写CGI程序。 《代码的未来》 在Ruby诞生的1993年,互联网还没有现在这样普及,因此Ruby也不是一开始就面向Web服务器端 来设计的。然而,从www黎明期开始,未来实现动态页面而出现了通用网关接口(common gatewa 阅读全文
posted @ 2019-03-10 15:40 papering 阅读(288) 评论(0) 推荐(0)
摘要: 啊 阅读全文
posted @ 2019-03-10 15:37 papering 阅读(621) 评论(0) 推荐(0)
摘要: Compare algorithms for heapq.smallest « Python recipes « ActiveState Code http://code.activestate.com/recipes/577573-compare-algorithms-for-heapqsmall 阅读全文
posted @ 2019-03-10 15:11 papering 阅读(154) 评论(0) 推荐(0)
摘要: 程序对自身操作 元编程 反射 p119 阅读全文
posted @ 2019-03-10 13:00 papering 阅读(230) 评论(0) 推荐(0)
摘要: https://www.infoq.cn/article/vpa6aypkizuqiijzflih 阅读全文
posted @ 2019-03-10 09:57 papering 阅读(199) 评论(0) 推荐(0)
摘要: 小结: 1、基于可达性分析的 GC和基于引用计数法的 GC 2、GC和程序处理的本质是无关的; 3、增量回收:预测和控制GC所产生的中断时间; 1、 分代回收 GC和程序处理的本质是无关的,因此它所消耗的时间越短越好。分代回收的目的,正是为了在程序 运行期间,将GC所消耗的时间尽量缩短。 基本思路 阅读全文
posted @ 2019-03-10 09:07 papering 阅读(710) 评论(0) 推荐(0)