4 ms·
Well commented C code should be huge! To say that "size does matter" and only mention source code size is ... Well, I shall be charitable and assume you are ha
by epo 13y ago
Well commented C code should be huge! To say that "size does matter" and only mention source code size is ... Well, I shall be charitable and assume you are having a bad day.
- SomeCallMeTim 13y agocloc can answer the question definitively: $ cloc sqlite3.c 1 text file. 1 unique file. 0 files ignored. http://cloc.sourceforge.net v 1.58 T=2.0 s (0.5 files/s, 70228.0 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 1 9585 46745 84126 ------------------------------------------------------------------------------- $ cloc unqlite.c 1 text file. 1 unique file. 0 files ignored. http://cloc.sourceforge.net v 1.58 T=0.5 s (2.0 files/s, 119944.0 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 1 314 18670 40988 ------------------------------------------------------------------------------- SQLite seems to have more verbose comments, but still has more than 2x the lines of code. If you want to build both on the same platform and compare binary size, be my guest.