mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 14:12:18 -05:00
[PR #1854] optimized sort.py code #1591
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1854
Author: @IdoErel
Created: 10/29/2021
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (4)
c4a6ae6optimized sort.py coded102719Create sort.pyc3b99bfUpdate sort.pyb016fe1Formal Version📊 Changes
1 file changed (+32 additions, -34 deletions)
View changed files
📝
sort.py(+32 -34)📄 Description
What is this Python project?
Online .PYC/.PYO decompilation tool.
Similar to awesome-php.
What's the difference between this Python project and similar ones?
This project is open-source, easy to understand, and implement.
This project could be useful on almost any GitHub project,
to record and automatically update the 'ReadME' file contents
with the information of the libraries used in the project.
Changes:
Faster & more efficient code. I simplified it where I could without impacting the readablility and functionality of the code.
A difference of around 44% during compile time & a little bit faster run-time. (8.9nsec-by timeit)
--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.