Timeline for How hard can I crush my array?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 27, 2017 at 17:56 | comment | added | Neil | I think 1/a[i] also works to save another byte. | |
| Aug 27, 2017 at 13:56 | comment | added | Luke | a.length>n is the same as a[n]!=[]._. In this case (since all items in the array are numbers larger than -1), it is the same as a[n]>-1. Also, a[i]==a[++i]&&x is the same as a[i]-a[++i]||x. | |
| Aug 27, 2017 at 1:33 | history | edited | Justin Mariner | CC BY-SA 3.0 | added 15 characters in body |
| Aug 26, 2017 at 22:08 | history | edited | Justin Mariner | CC BY-SA 3.0 | added 822 characters in body |
| Aug 26, 2017 at 20:16 | history | answered | Justin Mariner | CC BY-SA 3.0 |