Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-131

Improve argument conversion by allot_params()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Clownfish, Perl bindings
    • None

    Description

      The Perl bindings presently use too much code to convert Perl-space arguments
      to C-space variables. We can improve matters by refactoring
      XSBind_allot_params() so that it assigns to C-space variables directly instead
      of parceling out Perl scalars for the caller to extract from, yielding both
      diminished visual clutter in the generated C code and a reduction in the size
      of the compiled object code.

      Dev list thread: http://s.apache.org/MPA.

      Attachments

        1. allot_params.patch
          35 kB
          Marvin Humphrey

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: