IBM Support

PM15187: When used on very large strings, the findPlainText() perm takes a long time.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Problem
    When used on very large strings, the findPlainText() perm takes
    a long time. I observed 4-5 seconds using a string of around 500
    k.
    
    The customer is using the perm repeated to search for a delimite
    r in a string. In the sample given, performing 1000 searches was
     about 10 times slower in 8.x and 9.x when compared with 7.1.
    
    To Reproduce
    Run the attached script and observe the timings shown.
    
    Possible Workarounds
    Do the search manually, by looping through each character and do
    ing individual comparisons.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When used on very large strings, the findPlainText() perm
    takes a long time. It has been observed 4-5 seconds using a
    string of around 500k.
    

Problem conclusion

  • The code has been changed so that the search takes a
    considerably shorter time.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM15187

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-25

  • Closed date

    2011-03-31

  • Last modified date

    2011-03-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R920 PSN

       UP



Document information

More support for: Rational DOORS

Software version: 9.2

Reference #: PM15187

Modified date: 31 March 2011