/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

emre.me
| | randorithms.com
2.5 parsecs away

Travel
| | If you want to observe a hash function in the wild, all you need to do is look under the hood of the nearest key-value store. Hashing is a fundamentally simp...
| | tessil.github.io
2.5 parsecs away

Travel
| |
| | tenthousandmeters.com
2.8 parsecs away

Travel
| | Python dictionaries are an extremely important part of Python. Of course they are important because programmers use them a lot, but that's not the...
| | www.bazhenov.me
24.2 parsecs away

Travel
| Introduction Link to heading Suppose we need to write a function that computes the next set of numbers in a range and stores them in a slice, as shown below: let pl = RangePl::new(1..12); let mut buffer = [0u64; 4]; pl.next_batch(0, &mut buffer); // returns 4, buffer[..] = [1, 2, 3, 4] pl.next_batch(0, &mut buffer); // returns 4, buffer[..] = [5, 6, 7, 8] pl.next_batch(10, &mut buffer); // returns 2, buffer[0..2] = [10, 11] pl.next_batch(10, &mut buffer); // returns 0, buffer not updated Key factors: