memory read / write and display optimisations