首页   注册   登录
 watsy0007 最近的时间轴更新

watsy0007

V2EX 第 26824 号会员,加入于 2012-09-17 09:39:34 +08:00
watsy0007 最近回复了
28 天前
回复了 tenstone 创建的主题 程序员 你们的博客都搭在哪里的?
notion
37 天前
回复了 ClericPy 创建的主题 Python Python 3.8 released
@youthfire
@ClericPy 3.8 等待中...
pyenv 现在只有 rc4. 等出了 3.8, docker 也出了以后, 部分项目就可以先上了.
41 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
@ClericPy 改用 pydantic 搞定很多类型严重和转换问题.
41 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
41 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
@wuwukai007 https://docs.python.org/3.8/whatsnew/3.8.html#optimizations 看了下优化部分, 还是挺明显的.

Improved performance of operator.itemgetter() by *33%*. Optimized argument handling and added a fast path for the common case of a single non-negative integer index into a tuple (which is the typical use case in the standard library).


Sped-up field lookups in `collections.namedtuple()`. They are now more than two times faster, making them the fastest form of instance variable lookup in Python.


The list constructor does not overallocate the internal item buffer if the input iterable has a known length (the input implements __len__). This makes the created list *12%* smaller on average.


Reduced an overhead of converting arguments passed to many builtin functions and methods. This sped up calling some simple builtin functions and methods up to *20–50%*.


LOAD_GLOBAL instruction now uses new “per opcode cache” mechanism. It is about *40%* faster now.
43 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
ts 的重视因为是一门新语言, 然后翻译成 js 执行.

python 自带 typing, 但是并不是强制的.
没看出来你的问题.
44 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
@lrxiao
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1493 人在线   最高记录 5043   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.3 · 20ms · UTC 23:56 · PVG 07:56 · LAX 15:56 · JFK 18:56
♥ Do have faith in what you're doing.