memoize
conceptsAn optimisation technique that caches the results of expensive function calls and returns the cached result when the same inputs occur again
Pronunciation
Correct
MEM-oh-ize
/ˈmɛməʊaɪz/
Three syllables with stress on the first. Coined by Donald Michie in 1968, derived from 'memo' (memorandum), not 'memory'. Deliberately spelled without the 'r'.
Source: web.archive.org(official spec)
Common Mistakes
Common Mistake
MEM-or-ize
/ˈmɛməraɪz/
Saying 'memorize' conflates the term with the English verb 'to memorize'. The word is 'memoize', derived from 'memo', and lacks the 'r'.