broofa/node-uuid — Issue #27: RFI: Add option for RNG method.  Annotated source code.
Author: broofa
Created: 2011-12-30 15:26:45+00:00
State: open

Since v4 performance is so dependent on which RNG is used, it seemed appropriate to allow this aspect of the code to be testable. Hence https://github.com/broofa/node-uuid/compare/master...rng_refactor includes ...

* Expose the feature-detected RNG methods
* Allow them to be set in the v4() `options.rng` object
* Updated tests to test each generator

And while I was at it ...

* Update source comments to docco (http://jashkenas.github.com/docco/) format
* Link to annotated source at http://broofa.github.com/node-uuid/docs/uuid.html