Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903660

Drop layout-inferring varargs invoker + add method handle factory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      To align better with the 'Don't be too cheeky' principle of jextract, which says that we should try to pull too many clever tricks, we've decided to drop the layout inferring variadic function invoker.

      Instead, users would always have to pass the layouts explicitly and instantiate the invoker interface in order to invoke a variadic function. A more WYSIWYG approach.

      Additionally, we should expose a more low-level factory that returns a specialized method handle, which can be used to call the variadic function without any additional overhead.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: