1. 15 Mar, 2014 1 commit
  2. 03 Mar, 2014 1 commit
    • Simon Feltman's avatar
      Use ffi_call directly instead of g_callable_info_invoke · 5798f94b
      Simon Feltman authored
      Cleanup internal callable cache and state tracking by removing multiple
      counting schemes for differently sized "in" and "out" argument arrays.
      Use a single count based on the total number of arguments passed to C
      (inclusive of instance argument and GError exception where applicable).
      Size all state tracking arrays to the same size and ensure argument cache
      indices always line up with these arrays. This cleans up logic which was
      required by g_callable_info_invoke for splitting "in" and "out" arguments
      up.
      
      Cleanup array marshaling which can now rely on the new scheme which ensures
      the "arg_values" array always points to the correct location for length
      argument values.
      
      Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker and
      related GI methods. Overall, these changes can give a performance boost of
      almost 2x for simple function calls (see ticket for micro benchmarks).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=723642
      5798f94b
  3. 25 Feb, 2014 1 commit
  4. 03 Feb, 2014 13 commits
  5. 14 Oct, 2013 1 commit
  6. 26 Sep, 2013 9 commits
  7. 27 Jul, 2013 1 commit
    • Simon Feltman's avatar
      Add underscore prefix and _cache_adapter suffix to marshaling functions · 627c5faa
      Simon Feltman authored
      Add underscores to all _pygi_marshal_* functions. We don't currently
      export symbols, but we might need to for C unittesting. This will
      ensure we don't have a "public API".
      Add _cache_adapter suffix to marshaling functions which are light
      weight wrappers intended only for cached marshalers.
      627c5faa
  8. 26 Jul, 2013 5 commits
  9. 25 Jul, 2013 1 commit
  10. 10 Jul, 2013 1 commit
  11. 05 Apr, 2013 1 commit
  12. 26 Feb, 2013 2 commits
  13. 11 Jan, 2013 1 commit
  14. 17 Dec, 2012 1 commit
  15. 12 Oct, 2012 1 commit