Skip to content

pavdmyt/fastfact

Repository files navigation

fastfact godoc

Few different implementations of the functions to calculate a factorial of the given number. Utilizes math/big to calculate factorials of really big numbers.

There are also functions which are able to split calculations between goroutines (workers) and do work concurrently (in parallel at multi-core machines) thus speeding up calculations.

Performance results can be viewed in benchmarking.md.

Installation

go get -u github.com/pavdmyt/fastfact

API

See godoc reference for detailed API documentation.

License

MIT - Pavlo Dmytrenko; https://twitter.com/pavdmyt

About

Playground for various factorial function implementations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages