Skip to content

Cycle detection for recursive functions, such as those walking branching directed graphs, like JSON serialisers.

License

Notifications You must be signed in to change notification settings

joeycumines/go-detect-cycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-detect-cycle

Cycle detection for recursive functions, such as those walking branching directed graphs, like JSON serialisers.

Package Index

An immutable implementation of Floyd's Tortoise and Hare algorithm, with optional wrapper that allow you to simply pass one value in at a time, an invaluable feature in a recursive context.

About

Cycle detection for recursive functions, such as those walking branching directed graphs, like JSON serialisers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages