Using the NDK Performantly - Best Practices and Optimization Techniques

Using the NDK Performantly - Best Practices and Optimization Techniques

Android Developers via YouTube Direct link

Use GetString Region

17 of 29

17 of 29

Use GetString Region

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Using the NDK Performantly - Best Practices and Optimization Techniques

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 About Me
  3. 3 What is the NDK: Architecture View
  4. 4 The NDK: An Abridged History
  5. 5 Our Assumptions
  6. 6 Benchmarking our Runtime
  7. 7 JNI Basics: Accessing Class Fields
  8. 8 Cache Field/Method IDs
  9. 9 Performance: Field/Method IDs (ns)
  10. 10 Dalvik VS ART: GetintField
  11. 11 JNI Tips Scorecard
  12. 12 Use GetStringchars
  13. 13 Performance: GetString(UTF)Chars
  14. 14 Performance: Longer GetString(UTF)Chars
  15. 15 ART: GetString Chars vs GetStringUTFChars
  16. 16 ART: IsMovableObject
  17. 17 Use GetString Region
  18. 18 Performance: Copying String Data
  19. 19 Sharing Structured Data
  20. 20 Performance: Overhead of a JNI Call
  21. 21 Use DirectByteBuffer
  22. 22 Performance: GetDirectBuffer Address
  23. 23 Exploring ByteBuffer, direct ByteBuffer
  24. 24 Reading our Integer
  25. 25 FastJNI Declaration
  26. 26 Performance: Read Integer from ByteBuffer
  27. 27 Bulk Fetching
  28. 28 Performance: Copy and Readinteger
  29. 29 Demo: Android Studio

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.