It's not the upper bound that matters but the frequency. How frequently should the compiler assume an 's' appears in the dataset, or any other character? We know that E[# of '\0' in a string] == 1. But what is E[# of…
Imagine a scenario where most of the strings being processed contain a single null character, with no other characters. In that case checking for the null character first would be optimal. Does the compiler know that…
Problem with this is I'm now using the back of my hand or other parts of my body to open doors, press elevator buttons etc...
https://en.wikipedia.org/wiki/Entropy_(information_theory)
>In fact, any lossless compression algorithm has the property that the output is (on average) at least as long as the input I don't think this is true. If it was, lossless compression would be useless in a lot of…
It's not hard to believe that some portion (if not the majority) of people joining the military genuinely think they are doing something good.
I think you're conflating "knowing" a language with knowing the syntax of a language. It was an easy transition into C++ syntax from my usual C#/Java programming, but the transition into thinking like a C++ programmer…
It's not the upper bound that matters but the frequency. How frequently should the compiler assume an 's' appears in the dataset, or any other character? We know that E[# of '\0' in a string] == 1. But what is E[# of…
Imagine a scenario where most of the strings being processed contain a single null character, with no other characters. In that case checking for the null character first would be optimal. Does the compiler know that…
Problem with this is I'm now using the back of my hand or other parts of my body to open doors, press elevator buttons etc...
https://en.wikipedia.org/wiki/Entropy_(information_theory)
>In fact, any lossless compression algorithm has the property that the output is (on average) at least as long as the input I don't think this is true. If it was, lossless compression would be useless in a lot of…
It's not hard to believe that some portion (if not the majority) of people joining the military genuinely think they are doing something good.
I think you're conflating "knowing" a language with knowing the syntax of a language. It was an easy transition into C++ syntax from my usual C#/Java programming, but the transition into thinking like a C++ programmer…