For this weeks lecture, we learned about hashing objects. In short, hashing objects is giving them a suitable integer for a list object, almost like how groceries have specific bar-codes to identify the name and price of it. Hashing objects make processes fast, deterministic, and well-distributed. However, hashed objects will not have a unique integer, as there can be multiple objects that refer to the same integer. In order to deal with this problem, we can use two different tactics: chaining and probing. Chaining keeps a small list at that index, while probing explores, in a systematic way, until the next open index. By default, pythons dictionaries are implemented using hash tables and probing.
Anyways, this was my last and final week of CSC148. I have to say, it was a completely different experience compared to last year. The course material and the learning style for both years don't differ by much but I found this year's session to be much more enjoyable mainly because I stepped out of my shell and searched for new colleagues and opportunities. This summer I plan to work with David Liu on Courseography and Pytex and I have made some close friends to major and take the same courses in computer science for next year. It's been a fun ride so far and I hope it continues to be.