Menu

#693 Improve changeStr() performace

5.0.0
closed
Erich
None
none
5
2023-01-01
2017-08-09
Erich
No

changeStr() seems to have room for performance improvements

Discussion

  • Erich

    Erich - 2017-08-09

    Comitted revision [r11219] to optimize (caseless)changeStr() functions if a count arg is given

    Committed revision [r11284]:

    • MutableBuffer (caseless)changeStr() methods: remove duplicate scan for matches for the same-length and shorter-length case
    • primitive pos() method: add check to cut down number of necessary memcmp() calls
    • add MutableBuffer tests
     

    Related

    Commit: [r11219]
    Commit: [r11284]

  • Erich

    Erich - 2017-08-09

    Committed revision [r11285] with second MutableBuffer test

     

    Related

    Commit: [r11285]

  • Erich

    Erich - 2019-01-18
    • status: accepted --> pending
    • Pending work items: code+test --> none
     
  • Rony G. Flatscher

    • Status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel