Skip to content
  1. Feb 06, 2025
  2. Feb 05, 2025
  3. Feb 04, 2025
  4. Feb 03, 2025
  5. Jan 30, 2025
  6. Jan 28, 2025
    • Matt Smith's avatar
      Use a class for `CachedMapper`-derived mappers instead of a dict (#549) · 26b2223e
      Matt Smith authored
      * make CombineMapper inherit from CachedMapper
      
      * move axis tag attaching code into a separate method in AxisTagAttacher
      
      * use a class for CachedMapper caches instead of using a dict directly
      
      * drop P from mapper caches, since it's not being used
      
      * add comment about type annotations in CachedMapperCache
      26b2223e
  7. Jan 23, 2025
  8. Jan 22, 2025
  9. 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
  10. Jan 09, 2025
  11. Dec 20, 2024
  12. Dec 18, 2024
  13. Dec 13, 2024
  14. Dec 10, 2024
  15. Dec 04, 2024
  16. Dec 01, 2024
  17. Nov 25, 2024
  18. Nov 23, 2024
  19. Nov 22, 2024
  20. Nov 19, 2024
  21. Nov 17, 2024
  22. Nov 14, 2024
  23. Nov 07, 2024
Loading