[PR #1854] optimized sort.py code #1591

Open
opened 2025-11-06 13:19:21 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1854
Author: @IdoErel
Created: 10/29/2021
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (4)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1854 **Author:** [@IdoErel](https://github.com/IdoErel) **Created:** 10/29/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (4) - [`c4a6ae6`](https://github.com/vinta/awesome-python/commit/c4a6ae69634c6b0e85d2e4c1bc5b24354bb76d06) optimized sort.py code - [`d102719`](https://github.com/vinta/awesome-python/commit/d102719a41e15453a0176c42ead2cea9932cd088) Create sort.py - [`c3b99bf`](https://github.com/vinta/awesome-python/commit/c3b99bf686aa9dd4260c1a2e71b2433196f7195b) Update sort.py - [`b016fe1`](https://github.com/vinta/awesome-python/commit/b016fe10e0d80ddfe09a5ecc1c24460900c20170) Formal Version ### 📊 Changes **1 file changed** (+32 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `sort.py` (+32 -34) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:19:21 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1591