Ada 95 Quality and Style Guide Chapter 10

Chapter 10: Improving Performance - TOC - 10.6 TYPES

10.6.5 String Handling Subprograms

guideline

  • Use the procedural form of the string handling subprograms when measured performance indicates.

  • rationale

    Determine the relative performance cost of functions and procedures having the same name and functionality in Ada.Strings.Fixed, Ada.Strings.Bounded, Ada.Strings.Unbounded and the corresponding child packages whose names include Wide.

    While functional notation typically leads to clearer code, it may cause the compiler to generate additional copying operations.


    < Previous Page Search Contents Index Next Page >
    1 2 3 4 5 6 7 8 9 10 11
    TOC TOC TOC TOC TOC TOC TOC TOC TOC TOC TOC
    Appendix References Bibliography