Perform colectomy on 2011/borsanyi :-)
Remove colons :-) that were not needed as per discussion on GitHub. Other formatting fixes and maybe typo fixes.
This commit is contained in:
1 parent
0bef6cfba9
commit
39fbcd536f
1 file changed
+4
-4
@@ -39,7 +39,7 @@ by editing the source. Try to find them!
|
|||||||
|
|
||||||
If you look at the source you will notice that the usual array of
|
If you look at the source you will notice that the usual array of
|
||||||
histogram bins is missing. The source contains no arrays and it does not
|
histogram bins is missing. The source contains no arrays and it does not
|
||||||
use malloc or alloca. How does it build the histogram?
|
use `malloc(3)` or `alloca(3)`. How does it build the histogram?
|
||||||
|
|
||||||
While the input does not need to be sorted, the histogram output is sorted.
|
While the input does not need to be sorted, the histogram output is sorted.
|
||||||
How does it put the data into buckets? Why does it fork 22 times?
|
How does it put the data into buckets? Why does it fork 22 times?
|
||||||
@@ -52,7 +52,7 @@ histogram. I am all too often logged in to a remote machine with
|
|||||||
slow X connection, and a terminal-based program would be of
|
slow X connection, and a terminal-based program would be of
|
||||||
great help.
|
great help.
|
||||||
|
|
||||||
### Limitations:
|
### Limitations
|
||||||
|
|
||||||
* I optimized the output for the data I had around, you might want to adjust
|
* I optimized the output for the data I had around, you might want to adjust
|
||||||
for your needs. For a great excess of data points the program will crash
|
for your needs. For a great excess of data points the program will crash
|
||||||
@@ -60,12 +60,12 @@ great help.
|
|||||||
* Giving too few (distinct) points can also cause crash (or division by zero).
|
* Giving too few (distinct) points can also cause crash (or division by zero).
|
||||||
* The program expects plain numbers separated by white spaces.
|
* The program expects plain numbers separated by white spaces.
|
||||||
* ASCII is assumed.
|
* ASCII is assumed.
|
||||||
* Some POSIX-like system is assumed (fork and wait(NULL) are used)
|
* Some POSIX-like system is assumed (`fork()` and `wait(NULL)` are used).
|
||||||
* Do not give any arguments to the program.
|
* Do not give any arguments to the program.
|
||||||
* Could rounding errors cause the omission of the highest bin? There might be
|
* Could rounding errors cause the omission of the highest bin? There might be
|
||||||
empty bins at the edges.
|
empty bins at the edges.
|
||||||
|
|
||||||
### Obfuscation:
|
### Obfuscation
|
||||||
|
|
||||||
* The program follows a rather unconventional approach to the task
|
* The program follows a rather unconventional approach to the task
|
||||||
of histogram building. The usual array of integers (for the histogram
|
of histogram building. The usual array of integers (for the histogram
|
||||||
|
|||||||
Reference in new issue
Block a user