Timeline for Why is iterating over a file twice faster than reading it into memory and computing twice?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 19, 2014 at 17:40 | history | edited | cjm | CC BY-SA 3.0 | it's = it is; its = possessive pronoun; fix typos |
| Mar 19, 2014 at 17:23 | comment | added | Chris K | TL;DR: malloc(); if you could tell $log how big it needed to be and could write it quickly in one op with no reallocations, it would likely be as fast. | |
| Mar 19, 2014 at 13:21 | history | edited | X Tian | CC BY-SA 3.0 | Better explanation at end. |
| Mar 19, 2014 at 9:36 | history | edited | X Tian | CC BY-SA 3.0 | added 111 characters in body |
| Mar 19, 2014 at 9:29 | history | edited | X Tian | CC BY-SA 3.0 | added 111 characters in body |
| Mar 19, 2014 at 9:15 | history | edited | X Tian | CC BY-SA 3.0 | added 485 characters in body |
| Mar 19, 2014 at 9:07 | history | answered | X Tian | CC BY-SA 3.0 |