摘要: ``` python -m timeit -s "li = range(100)" "li.sort(reverse=True)" ``` 阅读全文
posted @ 2017-03-12 23:40 idlewith 阅读(137) 评论(0) 推荐(0) 编辑
摘要: body: font family: sans serif div.sphinxsidebar h3 font family: 'Trebuchet MS', sans serif div.sphinxsidebar h4 font family: 'Trebuchet MS', sans seri 阅读全文
posted @ 2017-03-12 23:08 idlewith 阅读(92) 评论(0) 推荐(0) 编辑
摘要: ``` # server.py # Fib microservice from socket import * from fib import fib from threading import Thread #from concurrent.futures import ProcessPoolExecutor as Pool ##pool = Pool(4) def fib_server(... 阅读全文
posted @ 2017-03-12 16:26 idlewith 阅读(118) 评论(0) 推荐(0) 编辑