by zmgsabst · 4y ago · 0 comments
1. @dataclass
https://docs.python.org/3/library/dataclasses.html
2. @cuda.jit
I use decorators quite a bit. The feature is incredibly powerful. Once you find @lru_cache, you start realizing how many ways you can take advantage of the feature.