General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Gavin Tillman
Computerphile
comments
Comments by "Gavin Tillman" (@gavintillman1884) on "Computerphile" channel.
Previous
1
Next
...
All
Interesting. As you say, mind blown comparing div of ints and floats. Your comment about moduloing a hash to get a box number for something like a dict or a set, being expensive and a “hidden” div is interesting. You alluded to ways in which compilers ease this overhead and I’d be interested to see how. First thing that springs to mind is that the number of boxes is power of 2 so the modulo is just a bit mask.
1
That's elegant! Not made that connection before
1
Previous
1
Next
...
All