Comments (9)
I have updated README file. Now it is okay, or did I forget something/did something wrong?
from is-prime.
Making the function take the smallest amount of space/data in memory will be the most optimized approach.
from is-prime.
To clarify someone asked something like this in StackOverflow https://stackoverflow.com/questions/21757755/what-in-the-function-is-occupying-memory-space
from is-prime.
The most optimized approach is one that works, and takes least space.
from is-prime.
Guidelines should demand that the assembly output of a compiled language should match the assembly code in the repository.
from is-prime.
Yeah, but then the code would be too complicated and not that fun.
from is-prime.
I thought the idea of this was to create an O(1) time complexity that translates to 1 instruction cycle of the CPU. How do all different languages compare to the true assembly approach of XOR eax, eax? Are we truly reaching O(1) time complexity if the code is not fine tuned to match the desired Assembly output?
from is-prime.
O(1) means that regardless of the number we ask for, the execution time of our program will be constant and always the same
from is-prime.
The current one looks okay to me. Closing this
from is-prime.
Related Issues (20)
- I need O(-1), please. HOT 3
- Could have different versions of markdown one
- No INTERCAL implementation? HOT 1
- No X++ support?! HOT 1
- Spanish implementation not working propperly HOT 1
- Missing unit tests HOT 2
- You have a rival HOT 3
- implementation in javascript and typescript should use camelCase HOT 1
- BUG: Python implementation doesn't have 95% guarantee HOT 1
- Does this even work? HOT 1
- Hi, unfortunately this algorithm is having some exception cases HOT 6
- constexpr HOT 1
- Optimised main.txt is 1 byte larger than normal one HOT 1
- SQL ????? HOT 5
- thoughts on a multithreaded version HOT 3
- Is there something that I should do? HOT 8
- My implementation proves the Riemann Hypothesis; where to collect my prize?
- Create a website to show it running
- very slow as a generator HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from is-prime.