DevHelpers is a loose collection of python development helpers. It is not made to be included or used in a finished product.
- The
@timeit
decorator to time the runtime of a function or method. With@timit(1000)
the function or method will be timed 1000 times and prints afterword a small statistic. - The
isatomic
decorator runs a function multiple times and compares the return value against the first run. If the output changes, the decorator raises an error. - The
@nogc
decorator disables the garbage collector during the runtime of a function.
This repository uses SemVer for its release cycle.
This repository uses the git-flow branching model by Vincent Driessen. It has two branches with infinite lifetime:
The master branch gets updated on every release. The develop branch is the merging branch.
Copyright © 2021 Michael Sasser Info@MichaelSasser.org. Released under the GPLv3 license.