You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree, however, it would be good to measure only lines with code on them, not whitespace, documentation strings or just comments, to not penalize people who actually try to write readable code!
Given the nature of the benchmarks, I'm not sure that LOC is a meaningful metric for them. However, if anyone is interested in trying this, the tokei tool can report total lines of code in various languages and differentiate between code, comments, and whitespace for most languages.
It would be interesting to compare program complexity (of which LOC is some sort of measure) to the energy and time usage.
The text was updated successfully, but these errors were encountered: