hunterap23 / python_performance_optimization_test_suite Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Describe the feature that is being tested/implemented
Add the following iterable comprehension methods:
tuple([i for i in range(10)])
{i for i in range(10)}
(i for i in range(10))
List any relations to other issues in this repository or in other repositories
N/A
Describe the feature that is being tested/implemented
Add another prime number calculation method as per the bitshifting method used in https://github.com/PlummersSoftwareLLC/Primes
Can create multiple sub-tests based on the bitshifting used there.
List any relations to other issues in this repository or in other repositories
N/A
Describe the feature that is being tested/implemented
Move to using poetry
tool for managing package installation, updating, and deployment.
List any relations to other issues in this repository or in other repositories
N/A
Describe the feature that is being tested/implemented
Replace any multithreading / multiprocessing implementation with the amped
module.
List any relations to other issues in this repository or in other repositories
Requires completion of amped
module: https://github.com/HunterAP23/amped
Describe the feature that is being tested/implemented
Refactor function calls to use single function with a boundary=None
argument.
if boundary
is None, then set it to n
else it should be n/2
or math.floor(math.sqrt(n))
Pre-calculate that boundary value before calling the function to lower the performance cost of the n/2 or squre root of n boundary functions.
is_prime_default(n: int, table: tuple)
function to be is_prime(n: int, table: tuple, boundary=None)
is_prime_half
and is_prime_sqrt
with calls to the new is+prime
functionList any relations to other issues in this repository or in other repositories
N/A
Describe the feature that is being tested/implemented
Add test cases for using queues instead of lists for storing prime numbers in the prime number calculation testing.
List any relations to other issues in this repository or in other repositories
Related to HunterAP23/amped#9
Describe the feature that is being tested/implemented
Create prime number calculation tests where loops start at 3 and increment by 2, instead of starting at 1 and incrementing by 1 (which requires calculating if the number is even or odd)
List any relations to other issues in this repository or in other repositories
N/A
Describe the feature that is being tested/implemented
Replace usage of multiprocessing
library's process and thread pools with concurrent.futures
library's process and thread pools
List any relations to other issues in this repository or in other repositories
Relates to HunterAP23/amped#1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.