In computer architecture, the memory hierarchy separates computer storage into a hierarchy based on response time. ... Memory hierarchy affects performance in computer architectural design, algorithm predictions, and lower level programming constructs involving locality of reference.