just now i went to a wikipedia article, and it showed a link to another article i'd read before in purple. and like. how the fuck does that WORK. do they have to keep your entire browser history in memory and perform a lookup for every \<a> tag before the page is rendered??? how is that not prohibitively expensive???
there probably is a simple answer to it (something something hashmaps, if i were to hazard a guess) but i'd never thought about it until now tbh