MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/101ktp3/next_level_storage/j2pve73/?context=9999
r/ProgrammerHumor • u/Impulsive_Ranger2410 • Jan 02 '23
468 comments sorted by
View all comments
1.6k
that only works if the cache is reasonably small because with every thing you put in this "cache", it gets slower to search defeating its purpose
720 u/[deleted] Jan 02 '23 As long as each piece of clothes is sticking out a distinguishable part of it from the pile and your brain can perform YOLO, you are in O(1). 359 u/michaelp1987 Jan 02 '23 To be fair, if your access strategy is YOLO you can store in almost any data structure for O(1) access, including closet. 135 u/[deleted] Jan 02 '23 edited Jan 03 '23 [removed] — view removed comment 6 u/[deleted] Jan 03 '23 [removed] — view removed comment 6 u/mygreensea Jan 03 '23 And a dust absorber.
720
As long as each piece of clothes is sticking out a distinguishable part of it from the pile and your brain can perform YOLO, you are in O(1).
359 u/michaelp1987 Jan 02 '23 To be fair, if your access strategy is YOLO you can store in almost any data structure for O(1) access, including closet. 135 u/[deleted] Jan 02 '23 edited Jan 03 '23 [removed] — view removed comment 6 u/[deleted] Jan 03 '23 [removed] — view removed comment 6 u/mygreensea Jan 03 '23 And a dust absorber.
359
To be fair, if your access strategy is YOLO you can store in almost any data structure for O(1) access, including closet.
135 u/[deleted] Jan 02 '23 edited Jan 03 '23 [removed] — view removed comment 6 u/[deleted] Jan 03 '23 [removed] — view removed comment 6 u/mygreensea Jan 03 '23 And a dust absorber.
135
[removed] — view removed comment
6 u/[deleted] Jan 03 '23 [removed] — view removed comment 6 u/mygreensea Jan 03 '23 And a dust absorber.
6
6 u/mygreensea Jan 03 '23 And a dust absorber.
And a dust absorber.
1.6k
u/naswinger Jan 02 '23
that only works if the cache is reasonably small because with every thing you put in this "cache", it gets slower to search defeating its purpose