Презентация Use native methods judiciously. (Item 54,55,56) онлайн

На нашем сайте вы можете скачать и просмотреть онлайн доклад-презентацию на тему Use native methods judiciously. (Item 54,55,56) абсолютно бесплатно. Урок-презентация на эту тему содержит всего 15 слайдов. Все материалы созданы в программе PowerPoint и имеют формат ppt или же pptx. Материалы и темы для презентаций взяты из открытых источников и загружены их авторами, за качество и достоверность информации в них администрация сайта не отвечает, все права принадлежат их создателям. Если вы нашли то, что искали, отблагодарите авторов - поделитесь ссылкой в социальных сетях, а наш сайт добавьте в закладки.
Презентации » Устройства и комплектующие » Use native methods judiciously. (Item 54,55,56)



Оцените!
Оцените презентацию от 1 до 5 баллов!
  • Тип файла:
    ppt / pptx (powerpoint)
  • Всего слайдов:
    15 слайдов
  • Для класса:
    1,2,3,4,5,6,7,8,9,10,11
  • Размер файла:
    50.31 kB
  • Просмотров:
    77
  • Скачиваний:
    0
  • Автор:
    неизвестен



Слайды и текст к этой презентации:

№1 слайд
Item Use native methods
Содержание слайда: Item 54: Use native methods judiciously

№2 слайд
Disadvantages of native
Содержание слайда: Disadvantages of native methods: Not save – memory corruption errors may occur Platform dependent – native methods are less portable More difficulties with debugging Worse performance doing a small amount of work – consume some resources for going into and out of native code

№3 слайд
Use as little native code as
Содержание слайда: Use as little native code as possible

№4 слайд
Strive to write good programs
Содержание слайда: Strive to write good programs rather than fast ones Don’t sacrifice sound architectural principles for performance

№5 слайд
Strive to avoid design
Содержание слайда: Strive to avoid design decisions that limit performance Components interacting between modules and with the outside world are difficult to change.

№6 слайд
Consider the performance
Содержание слайда: Consider the performance consequences of your API design decisions Mutable public class – may require a lot of needles defensive coping Inheritance – ties class with its parent and may have limits on the performance of superclass Interfaces – allow to create faster implementation in the future

№7 слайд
Don t warp API to achieve
Содержание слайда: Don’t warp API to achieve good performance Problems with performance may go away in future releases, bad API – never

№8 слайд
Measure performance before
Содержание слайда: Measure performance before and after each attempted optimization Effect can be measurable or even negative

№9 слайд
Java doesn t have a strong
Содержание слайда: Java doesn’t have a strong performance model There is a gap between what the programmer writes and what the CPU executes

№10 слайд
Item Adhere to generally
Содержание слайда: Item 56: Adhere to generally accepted naming conventions

№11 слайд
Packages Components of
Содержание слайда: Packages Components of package names should consist of lowercase alphabetic characters and, rarely digits. Components should be short, generally eight or fewer characters. Meaningful abbreviations are encouraged (For example, util rather than utilities)

№12 слайд
Classes and interfaces
Содержание слайда: Classes and interfaces Abbreviations are to be avoided, except for acronyms and certain common abbreviations like max and min. Acronyms can be either uppercase or have only their first letter capitalized (The second is better. HTTPURL or HttpUrl)

№13 слайд
Method and field names The
Содержание слайда: Method and field names The same as classes’ names but the firstLetterShouldBeLowercase. If constant – UPPERCASE_WORDS_SEPARETED_WITH_UNDERSCORE

№14 слайд
Local variable The same as
Содержание слайда: Local variable The same as members’ names but abbreviations are available

№15 слайд
Type parameter names T for an
Содержание слайда: Type parameter names T for an arbitrary type E for the element type of a collection K and V for the key and value types of a map X for an exception A sequence of arbitrary types can be T, U, V or T1, T2, T3.

Скачать все slide презентации Use native methods judiciously. (Item 54,55,56) одним архивом: