Skip to content
Snippets Groups Projects
  1. Jan 23, 2025
  2. Jan 22, 2025
  3. Jan 17, 2025
    • Matt Smith's avatar
      Cache mapped functions (#531) · 46431ee2
      Matt Smith authored
      * avoid traversing functions multiple times
      
      * condense function cache setup
      
      * pass function cache to CombineMapper.__init__ too
      
      * use Never instead of None as the function result type for mappers that don't support functions
      
      * remove multiple inheritance for TransformMapperWithExtraArgs
      
      doesn't appear to be needed
      
      * add _verify_is_array to avoid the need for rec_ary
      
      the latter inflates recursion depth
      
      * remove map_foreign from Mapper
      
      * use Never as FunctionResultT for NumpyCodegenMapper and FancyDotWriter too
      
      * make PlaceholderSubstitutor explicit about not supporting functions
      
      * tweak types in rec/rec_function_definition
      
      * use P.args/P.kwargs in CachedWalkMapper
      
      * use a more specific type than Any for cache key in CachedWalkMapper
      
      * remove some more Anys
      46431ee2
  4. Jan 09, 2025
  5. Dec 20, 2024
  6. Dec 18, 2024
  7. Dec 13, 2024
  8. Dec 10, 2024
  9. Dec 04, 2024
  10. Dec 01, 2024
  11. Nov 25, 2024
  12. Nov 23, 2024
  13. Nov 22, 2024
  14. Nov 19, 2024
  15. Nov 17, 2024
  16. Nov 14, 2024
  17. Nov 07, 2024
  18. Oct 28, 2024
  19. Oct 18, 2024
  20. Oct 08, 2024
  21. Sep 20, 2024
  22. Sep 18, 2024
Loading