← concepts · the commons
function count
also known as count function
3 moment(s) that assert this concept — showing 1–3 of 3
moderateTwo independent sources — corroborated, but not broadly
↣ how this spread over time →Brian Will · youtube · en
1The original NES emulator has 321 functions/methods, many of which are redundant or unnecessary, and the procedural version eliminates most of them.
“he has 321 functions SL methods most of them are actually methods in my Revised Code I got rid of”
spoken · 185s · 2016-03-22
Brian Will · youtube · en
2The total number of functions in the codebase is 113, with 59 being publicly accessible and 54 being private and confined to local scope.
“we do have here 113 functions in total but half of them at least we know are confined to being used in just a confined local scope”
spoken · 215s · 2016-03-22
ClojureTV · youtube · en-US
3A micro-benchmark shows that calling closure core count takes approximately 10 nanoseconds, while calling .count directly takes about 5 nanoseconds, indicating the overhead is minimal.
“Calling closure core count is approximately 10 nanoseconds. Calling dot count directly is about five and you may notice that this is in fact twice as much time but let us never forget that a nanosecond is not a very long amount of time.”
spoken · 510s · 2014-03-25