Estimation/BitsAndBytes: Difference between revisions
From charlesreid1
(Created page with "=Estimating Bits and Bytes= Via [https://www.youtube.com/watch?v=EKWGGDXe5MA Richard Feynman's Computing Heuristics lecture on Youtube] the following extremely useful relati...") |
|||
| Line 3: | Line 3: | ||
Via [https://www.youtube.com/watch?v=EKWGGDXe5MA Richard Feynman's Computing Heuristics lecture on Youtube] | Via [https://www.youtube.com/watch?v=EKWGGDXe5MA Richard Feynman's Computing Heuristics lecture on Youtube] | ||
The following extremely useful relation, specified in [https://en.wikipedia.org/wiki/IEEE_1541-2002 IEEE 1541-2002] | |||
Powers of 2^10 (1024) are very close to powers of 1000. | |||
<pre> | |||
2^0 = 1 ~ 1000^0 | |||
[kibi] 2^10 = 1024 ~ 1000^1 | |||
[mebi] 2^20 = 1048576 ~ 1000^2 | |||
[gibi] 2^30 = 1073741824 ~ 1000^3 | |||
[tebi] 2^40 = 1099511627776 ~ 1000^4 | |||
[pebi] 2^50 = 1125899906842624 ~ 1000^5 | |||
[exbi] 2^60 = 1152921504606846976 ~ 1000^6 | |||
</pre> | |||
=Flags= | |||
{{AlgorithmComplexityFlag}} | {{AlgorithmComplexityFlag}} | ||
Revision as of 07:11, 29 May 2017
Estimating Bits and Bytes
Via Richard Feynman's Computing Heuristics lecture on Youtube
The following extremely useful relation, specified in IEEE 1541-2002
Powers of 2^10 (1024) are very close to powers of 1000.
2^0 = 1 ~ 1000^0 [kibi] 2^10 = 1024 ~ 1000^1 [mebi] 2^20 = 1048576 ~ 1000^2 [gibi] 2^30 = 1073741824 ~ 1000^3 [tebi] 2^40 = 1099511627776 ~ 1000^4 [pebi] 2^50 = 1125899906842624 ~ 1000^5 [exbi] 2^60 = 1152921504606846976 ~ 1000^6
Flags
| Computer Science notes on computer science topics on the wiki, for educational and learning purposes
Part of the 2017 CS Study Plan.
Python/Exceptions · Python/Assertions · Python/Decorators Python/Os (os module) · Python/Strings Python/Splat · Python/Iterators · Python/Generators Python/Comparators · Python/Lambdas
Builtin features of Java: Java/Exceptions · Java/Assertions · Java/Memory · Java/Interfaces Java/Generics · Java/Decorators · Java/Diamond Notation Java/Iterators · Java/Iterable · Iterators vs Iterable Java/Comparators · Java/Comparable · Comparators vs Comparable Java/Numeric · Java/TypeChecking · Java/Testing · Java/Timing · Java/Profiling Documentation: Javadocs · Java/Documentation Tools and functionality: Java/URLs · Java/CSV External libraries: Guava · Fastutil · Eclipse Collections OOP: OOP Checklist · Java/Abstract Class · Java/Encapsulation · Java/Generics
|
See also: