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

watsy0007

V2EX 第 26824 号会员,加入于 2012-09-17 09:39:34 +08:00
今日活跃度排名 14103
watsy0007 最近回复了
1 天前
回复了 ClericPy 创建的主题 Python Python 3.8 released
@youthfire
@ClericPy 3.8 等待中...
pyenv 现在只有 rc4. 等出了 3.8, docker 也出了以后, 部分项目就可以先上了.
4 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
@ClericPy 改用 pydantic 搞定很多类型严重和转换问题.
5 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
5 天前
回复了 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.
7 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
ts 的重视因为是一门新语言, 然后翻译成 js 执行.

python 自带 typing, 但是并不是强制的.
没看出来你的问题.
8 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
@lrxiao
8 天前
回复了 watsy0007 创建的主题 Python Python 3.8 即将发布了.
@love 场景不一样. 不能简单这样比较. 各有各的优劣.
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2815 人在线   最高记录 5043   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.3 · 20ms · UTC 11:57 · PVG 19:57 · LAX 04:57 · JFK 07:57
♥ Do have faith in what you're doing.