Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-163

ColognePhonetic encoder unneccessarily creates many char arrays on every loop run

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Labels:

      Description

      The summary says it all.
      I've created a patch and have attached it.
      I've benchmarked a 10% performance improvement. Admittedly, I expected more, but other positive effects should be less strain on heap and GC.

        Attachments

        1. patch-CODEC-163
          4 kB
          Martin Rust

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              leo141 Martin Rust
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: