README: performance => comparison
This commit is contained in:
		
							parent
							
								
									8174e8a49e
								
							
						
					
					
						commit
						4419798c18
					
				| 
						 | 
					@ -27,9 +27,7 @@ As of now, it may be useful for checking the validity of simple estimations. The
 | 
				
			||||||
- [x] Python
 | 
					- [x] Python
 | 
				
			||||||
- [x] Nim 
 | 
					- [x] Nim 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Performance table
 | 
					## Comparison table
 | 
				
			||||||
 | 
					 | 
				
			||||||
With the [time](https://man7.org/linux/man-pages/man1/time.1.html) tool, using 1M samples:
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Language             | Time      | Lines of code |
 | 
					| Language             | Time      | Lines of code |
 | 
				
			||||||
|----------------------|-----------|---------------|
 | 
					|----------------------|-----------|---------------|
 | 
				
			||||||
| 
						 | 
					@ -40,6 +38,8 @@ With the [time](https://man7.org/linux/man-pages/man1/time.1.html) tool, using 1
 | 
				
			||||||
| R                    | 0m7,000s  | 49  |
 | 
					| R                    | 0m7,000s  | 49  |
 | 
				
			||||||
| Python (CPython)     | 0m16,641s | 56  |
 | 
					| Python (CPython)     | 0m16,641s | 56  |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Time measurements taken with the [time](https://man7.org/linux/man-pages/man1/time.1.html) tool, using 1M samples:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Notes
 | 
					## Notes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
I was really happy trying [Nim](https://nim-lang.org/), and as a result the Nim code is a bit more optimized and engineered:
 | 
					I was really happy trying [Nim](https://nim-lang.org/), and as a result the Nim code is a bit more optimized and engineered:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user