Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okin/list_comp_bench
Benchmarks for various ways of working with list comprehension
https://github.com/okin/list_comp_bench
Last synced: about 2 months ago
JSON representation
Benchmarks for various ways of working with list comprehension
- Host: GitHub
- URL: https://github.com/okin/list_comp_bench
- Owner: okin
- License: agpl-3.0
- Created: 2014-11-10T20:21:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-10T21:24:57.000Z (about 10 years ago)
- Last Synced: 2023-03-11T13:18:38.950Z (almost 2 years ago)
- Language: Python
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
list_comp_bench
===============Benchmarks for various ways of working with list comprehension.
Working in Python 2 and 3.
To achieve this I needed to somehow consume the iterators that Python 3 produces and therefore convert the created iterables to a list.
This alters the "pure" results but because the overhead is applied to all scripts the results still should be comparable.