PyS60 有可靠的垃圾收集吗?

发布于 2024-07-14 10:50:13 字数 78 浏览 7 评论 0原文

我多次听说 PyS60 中的垃圾收集没有达到要求。 这对编写更简洁的代码施加了很多限制。 我至少可以相信在函数存在后非循环引用会被清除吗?

I have heard it many times that garbage collection in PyS60 is not up to to the mark. This imposes a lot of limits on writing cleaner code. Can I at least rely that the non cyclic references are cleaned up after a function exists.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

末蓝 2024-07-21 10:50:13

PyS60 从 1.9.0 版本开始使用 Python 2.5.1 核心,并且没有垃圾收集问题。

PyS60 as of version 1.9.0 uses Python 2.5.1 core and has no problems with garbage collection.

淡笑忘祈一世凡恋 2024-07-21 10:50:13

大多数情况下你可以,但有时 PyS60 需要一点“帮助”。 取消绑定键,总是取消计时器,可能需要手动删除一些类等。没什么太糟糕的。

顺便说一句,当前 1.9.x 分支使用 python core 2.5.4。 我认为 1.9.5 是第一个版本,可能比 1.4.5 更好。 值得一看,特别是如果你想玩 5800 XpressMusic :)

Mostly you can, but occasionally PyS60 needs a little "help". Unbind keys, always cancel timers, might have to manually delete some classes etc. Nothing too bad.

Btw current 1.9.x branch uses python core 2.5.4. In my opinion 1.9.5 is the first version, which might be better that 1.4.5. Worth taking a look, especially if you want to play with 5800 XpressMusic :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文