[quickjs-devel] Easy way to detect circular refernce with C.

  • From: Connor Nolan <connor24nolan@xxxxxxxx>
  • To: "quickjs-devel@xxxxxxxxxxxxx" <quickjs-devel@xxxxxxxxxxxxx>
  • Date: Wed, 14 Aug 2019 18:10:51 +0000

If you are iterating through an object tree, would it be hard to add a flag, to 
every object you have already iterated through, so if you find an object with 
that flag set, you know it is circular, and then reset the flags, after you are 
done iterating.

Other related posts:

  • » [quickjs-devel] Easy way to detect circular refernce with C. - Connor Nolan