Skip to main content

Timeline for Reciprocal of a number (1/x)

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Mar 30, 2017 at 18:55 history edited Patrick Roberts CC BY-SA 3.0
removed leading byte of AST binary
Mar 30, 2017 at 18:51 comment added Patrick Roberts Weird... I just found an interesting hack.
Mar 30, 2017 at 18:38 comment added Patrick Roberts @ETHproductions The overhead of the block scope and I believe binary operators are each 2 bytes (This is due to the binary directly representing the AST of the equivalent JavaScript). Bean really shines with challenges that would typically require several calls to builtins, or when interpreting input as objects automatically saves bytes, or when having a program implicitly input and output is smaller than writing answer as a function where you explicitly input and output.
Mar 30, 2017 at 18:28 comment added ETHproductions Interesting, what's the main cause of this being longer than vanilla JS even though it's basically compressed JS?
Mar 30, 2017 at 18:14 history answered Patrick Roberts CC BY-SA 3.0