在哪里可以找到Python中内置序列类型的时间和空间复杂性 [英] Where can I find the time and space complexity of the built-in sequence types in Python

查看:67
本文介绍了在哪里可以找到Python中内置序列类型的时间和空间复杂性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直无法找到这些信息的来源,除非自己亲自检查Python源代码来确定对象的工作方式.有人知道我可以在网上找到它吗?

I've been unable to find a source for this information, short of looking through the Python source code myself to determine how the objects work. Does anyone know where I could find this online?

推荐答案

检出 TimeComplexity 页面在py dot org Wiki上.至少就时间复杂度而言,它涵盖了set/dicts/lists/etc.

Checkout the TimeComplexity page on the py dot org wiki. It covers set/dicts/lists/etc at least as far as time complexity goes.

这篇关于在哪里可以找到Python中内置序列类型的时间和空间复杂性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆