Android笔记-Dalvik VM-1

Dalvik Virtual Machine (good on limited hardware)android

 

Duplicate data used in class files is included only once in the .dex output, which saves space and uses less overhead.app

The executable files can be modified again when you install an application to make things even more optimized for mobile. Things like byte order swapping and linking data structure and function libraries inline make the files smaller and run better on our devices.less

The Dalvik VM was written from square one with Android in mind.oop

 

It's register-based.spa

 

 

It's designed for the limited memory.3d

 

.dex file's size is small.orm

 

Powered by a battery (so has battery constraint)blog

 

Platform security are protected by process bound.input

 

Advice on programming on android:it

1. When you are waiting for input, sleep.

2. Looping. From good to bad: