Aktywne Wpisy

R2D2_z_Sosnowca +675
Taka sytuacja. Od początku roku zmagałem się z ostrą rwą kulszową na którą naprawdę niewiele oprócz położenia się płasko na podłodze pomagało. Było to do tego stopnia upierdliwe, że gdy wyjeżdżałem w dalszą trasę to po kilku godzinach kręcenia fajerą musiałem wsuwać się jak wąż przez tył do mojego minivana i rozciągać by móc kontynuować jazdę. Gdy już byłem całkowicie pozbawiony nadziei wtedy pojawiła się ona. Gruba że swoim dyliżansem po babci.
źródło: Zdjęcie z biblioteki
Pobierz
Piotrek7231 +119
źródło: GiPyhvJXUAA9SKr
PobierzOcena
- 1 47.2% (728)
- 2 14.3% (220)
- 3 8.6% (132)
- 4 4.9% (76)
- 5 25.0% (386)





Źródło: https://blog.sessionstack.com/how-javascript-works-memory-management-how-to-handle-4-common-memory-leaks-3f28b94cfbec
Po 1. Pkt 3. O co mirki chodzi w tym zdaniu: The thing to remember is that once a scope for closures is created for closures in the same parent scope, the scope is shared.
i po 2. W pkt. 4: If you store a reference to each DOM row in a dictionary or an array, there will be two references to the same DOM element: one in the DOM tree and another in the dictionary. If you decide to get rid of these rows, you need to remember to make both references unreachable.
Rozumiem usuwanie w JS ale, co ma na myśli "you need to remember to make both references unreachable."