NSKeyedArchiver
provides some support for archiving C primitive types but provides no support for pointers to C structs. I'll show you how you can archive a linked list of C structs, despite the lack of support in NSKeyedArchiver
.NSMutableSet
methods good for tracking already-visited nodes? How much overhead does an NSMutableArray
FIFO queue impose relative to a depth-first search (which doesn't require a FIFO queue)? Does NSMutableArray
perform better if objects are pushed onto the front, or the back? In this post, I present answers to these questions and more.