Conversation
* added _traverse private method
walks the binary tree calling _insert_centroid on each data node
* added _insert_centroid private method
simply inserts an existing object into the tree
* added public load method
takes an object and re-initializes state from that object
Issue-welch#4: Add support for saving state
|
note: I didn't bump the version as I wasn't sure what you'd prefer. |
|
Thanks for the PR! I'm going to be swamped for a few days before I'll get |
|
Ah, I'll give that a try. If it gives the same results I'll cancel the On Jul 18, 2016 11:51 PM, "Will Welch" notifications@github.com wrote:
|
Here are the changes to support saving state in TDigest.
I'm not very familiar with javascript unit testing. Would appreciate any guidance you may have.