mergesorts icon indicating copy to clipboard operation
mergesorts copied to clipboard

Reduce lines of mergesort.c by 50% while keeping readability

Open psqli opened this issue 4 years ago • 2 comments

I tried to make it readable. With the current tree it ended up in 13th position among 38 implementations.

psqli avatar Jul 27 '20 02:07 psqli

pretty neat

abircb avatar Jul 28 '20 16:07 abircb

@abircb Thanks. By the way, I've done a version with 18 lines (see #76) that was well rejected by @geohot for its poorly readability. However, it would be nice to see other smaller versions written in C. Speaking of which, no entry mentions "mergesort" in IOCCC.

psqli avatar Jul 28 '20 23:07 psqli