摘要:
题目:Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will only contain 0 and 1. The leng 阅读全文
posted @ 2017-07-10 17:31
jimtong
阅读(141)
评论(0)
推荐(0)
摘要:
1、GIL是什么?GIL的全称是Global Interpreter Lock(全局解释器锁),来源是python设计之初的考虑,为了数据安全所做的决定。 2、每个CPU在同一时间只能执行一个线程(在单核CPU下的多线程其实都只是并发,不是并行,并发和并行从宏观上来讲都是同时处理多路请求的概念。但并 阅读全文
posted @ 2017-07-10 15:16
jimtong
阅读(251)
评论(0)
推荐(0)

浙公网安备 33010602011771号