Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212726

Replace some use of drop- and foldArguments with filtering argument combinator in StringConcatFactory

XMLWordPrintable

        StringConcatFactory uses a customized internal foldArguments implementation which takes positional arguments to avoid intermediary permutation steps, see JDK-8165492

        In preparation of possibly making this a public API, I realized that we could probably profit some from a filtering combinator based on the same logic. Applying this implementation to StringConcatFactory proves it can get rid of a significant number of LFs with retained performance characteristics, strengthening the case to include this in the public API

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: