PJTernarySearchTree icon indicating copy to clipboard operation
PJTernarySearchTree copied to clipboard

Remove serialization methods

Open mikeabdullah opened this issue 12 years ago • 1 comments

Since they're just tiny wrappers around NSCoding and friends, they have little purpose (we can use NSKeyedArchiver directly). I don't believe any other collection class in Cocoa has such an implementation.

mikeabdullah avatar Mar 10 '13 12:03 mikeabdullah

in my testcase PJTernarySearchTree * tree = [NSKeyedUnarchiver unarchiveObjectWithFile:path] is much slower than 1. read a json file to NSDictionary 2. build PJTernarySearchTree from the dict.

dongyuwei avatar Jun 03 '17 15:06 dongyuwei