commit something to memory
/kəˌmɪt ˈsʌm.θɪŋ tə ˈmem.ər.i/idiom
to learn something so well that you can remember it exactly
заучить наизусть, накрепко запомнить
Русский аналог: «заучить наизусть; запечатлеть в памяти»
Формальное. Часто: commit a poem / a phone number / the lines to memory. Попроще: learn by heart.
“She committed the whole poem to memory.”
“I tried to commit the phone number to memory.”
“Actors must commit their lines to memory.”