Timeline for Tool for automatically correcting indentation and formatting of CR & SO code
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Feb 4, 2014 at 11:49 | comment | added | sqykly |
Starting to look like the shim version is better than or equal to mine, even when I add the asm.js n | 0 optimization hint & increase sample size to really ridiculous numbers of spaces. So let this be a lesson to all future JS bit-twiddlers =D.
|
|
| Feb 4, 2014 at 4:17 | comment | added | James Khoury | I added a few more browsers. Results are still inconclusive | |
| Feb 4, 2014 at 4:09 | comment | added | sqykly | good call. I'm seeing 0 difference, too, except that firefox or my machine sucks =D. | |
| Feb 4, 2014 at 3:36 | comment | added | James Khoury | On my machine with memoization for both. It makes little difference. So I'd label my one as no real improvement. jsperf.com/code-review-40422 | |
| Feb 4, 2014 at 3:16 | comment | added | sqykly | Now I'm struggling to come up with a fair set of test cases since mine is using memoization; obviously I can't time generation of the same repeat count over and over, but I also can't use a set contrived to be devoid of repetitions. Thoughts? | |
| Feb 4, 2014 at 2:41 | comment | added | James Khoury | @sqykly Thats an interesting idea. jsperf.com? | |
| Feb 4, 2014 at 2:37 | comment | added | sqykly | Doesn't look like it's in the standard, so I hesitate to use it regardless of adoption among common browsers. I think the shim you provide is about as straightforward as the way I've written it; if CR at large disagrees or if I test the performance and mine is inferior, I'll switch. | |
| Feb 4, 2014 at 2:26 | history | answered | James Khoury | CC BY-SA 3.0 |