Skip to content

A react project for finding prime numbers following both the sieve of Atkin and the Sieve of Eratosthenes while measuring their performance.

License

Notifications You must be signed in to change notification settings

AlexandrosGounis/react-primes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Prime Finder



PRIME FINDER:

This class calculates all the prime numbers up to a value that is provided by the onChange event. Every time the user types a character in the input field, all the prime numbers up the current value are being calculated

Sieve of Ερατοσθένης:

please visit https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes

Sieve of Atkin:

please visit https://en.wikipedia.org/wiki/Sieve_of_Atkin

Benchmark (performance now):

  • We can measure the performance in ms by using the performance.now() method that is independent of the computer's clock.

About

A react project for finding prime numbers following both the sieve of Atkin and the Sieve of Eratosthenes while measuring their performance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published