iqxd's recent timeline updates
iqxd

iqxd

V2EX member #488366, joined on 2020-05-08 16:05:59 +08:00
iqxd's recent replies
@myCupOfTea 在操作系统层面只有网络请求能支持异步啊,其他的 io 比如文件读写等只能用线程来实现异步,所以不写 web 相关的一般不太会用到 asyncio
Mar 25, 2021
Replied to a topic by iqxd Vim 第一个 vim 插件
vscode 新版本原生带这个功能了,估计是这个原因吧
大量小数据如果纠结内存就不要用通用数据结构。
为了读取和插入效率,python 的 dict 的默认分配键值空间与实际键值数量大概是 3:1.
对于 python 还算正常,即使是 C 的双向链表,用 64 位指针有时候占用内存都可能是实际数据的 3 倍
Jan 13, 2021
Replied to a topic by Livid Python Qt 6 for Python 发布
@rainfd 官网现在有专门的 pyside6 的文档主页,质量和完整度我也没细看
Jan 11, 2021
Replied to a topic by abersheeran Python 六行代码实现 Python 管道
请问下楼主 if isinstance(other, tuple): return self(*other) 是为了处理哪种情况呢?
用信号槽应该不难实现吧,在 yw.pythread.py 新建类,继承自 QObject, 并在其中定义 signal emit 内容,在 gui.py 新建实例化 yw,thread 对象,并定义 slot 函数显示内容就行了吧
Oct 15, 2020
Replied to a topic by Te11UA Python python3 新特性这么多,你常用的是什么?
@janxin 今天我看 cpython git 日志,发现有开发者重新测了,修改了这个 Release Note 里的 bench 结果,看上去和 3.8 差别不大
Oct 14, 2020
Replied to a topic by 18870715400 Python Python 登录 oracle 的问题
如果一定要用.ora 文件的话,可以这样试试

cx_Oracle.connect(USERNAME,password, open('path/tnsname.ora','r').read())
Oct 14, 2020
Replied to a topic by Te11UA Python python3 新特性这么多,你常用的是什么?
@janxin 那个 benchmark 是开发期间测试的,用 release 的最终版 3.9.0 在 win10 下和 3.8.6 对比了下,还是 3.9 跑的稍快一些,
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4478 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 10:07 · PVG 18:07 · LAX 03:07 · JFK 06:07
♥ Do have faith in what you're doing.