Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 1
    \$\begingroup\$ "vibgyor" can be golfed by 1 byte to .•2Bãθ(•. (Here the explanation for it at the "How to compress strings not part of the dictionary?" section.) In addition, „vr…v r:ð« can be golfed to 'v„v .:. So 28 bytes. Nice answer though, +1 from me. \$\endgroup\$ Commented Aug 14, 2018 at 14:51
  • 2
    \$\begingroup\$ @KevinCruijssen oh I know all about string compression-- I just figured (as is usually the case with super small strings) that the 3-byte bloat of .•• wouldn't save a byte. Figures the one time I don't actually check is the time it would save bytes xD. Good catch \$\endgroup\$ Commented Aug 14, 2018 at 15:14
  • 3
    \$\begingroup\$ For 23 bytes: .•VvÈ©•¹∍¬„ v:Rηε¬ý}.c \$\endgroup\$ Commented Aug 14, 2018 at 16:30
  • 1
    \$\begingroup\$ @Adnan fair enough, the lack of the mirror makes it a significant refactor in my eyes though (that and I doubt I'd've got there on my own :P). \$\endgroup\$ Commented Aug 14, 2018 at 16:47
  • 1
    \$\begingroup\$ @Adnan also ¬ý is genius... Jeez... You think so differently and it's awesome. \$\endgroup\$ Commented Aug 15, 2018 at 14:53