Skip to content

A package for constructing Broadcasted objects from broadcast expressions

License

Notifications You must be signed in to change notification settings

CliMA/LazyBroadcast.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LazyBroadcast.jl

We believe that software should be

  • simple
  • unit tested
  • fast
  • granular

LazyBroadcast.jl helps us achieve via lazy_broadcast. See our documentation for a more in-depth dive into how it works.

Acknowledgement

The original implementation of LazyBroadcast involved a similar recipe to MultiBroadcastFusion, which has different yet justified needs for its implementation. Since then, DontMaterialize.jl was developed, which satisfied most needs by LazyBroadcast using a significantly more elegant approach, discussed here. So, we've borrowed that implementation in order to be more consistent with Base.Broadcast semantics, and provide users with less surprising behavior. We've also kept code_lowered_single_expression, as this is one feature that DontMaterialize.jl does not offer (transforming broadcasted Expr to Expr).

About

A package for constructing Broadcasted objects from broadcast expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages