{"push_id":998466860,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"ca12c440f303e53f5a4315443c26057ad4cd7523","before":"dfce887783a3bca4ff38a5e915fa74c9c51b6441","commits":[{"sha":"7508f98c71a281f5cb9aa8cdcbe736a7f146919e","author":{"email":"41eede90efebf53ef44ac2be9193a60369a461fb@gmail.com","name":"Bryan Matsuo"},"message":"optimize internal parsing function -- avoid unsafe []byte parsing\n\nMaking xtob take two byte arguments avoids a lot of slicing.  This makes\nthe Parse function faster.  In addition, because so much slicing is\navoiding, duplicating the parse logic to ParseBytes resulted in the\nfunction being faster than Parse (<1ns).\n\nThe BenchmarkParseBytesNative function has been removed (parseBytes was\nidentical to ParseBytes).  And a new benchmark,\nBenchmarkParseBytesUnsafe, has been added to benchmark the old way of\nparsing []byte (which is slightly slower than Parse and thus the new\nParseBytes implementation).\n\n    benchmark                         old ns/op     new ns/op     delta\n    BenchmarkUUID_MarshalJSON-4       685           667           -2.63%\n    BenchmarkUUID_UnmarshalJSON-4     1145          1162          +1.48%\n    BenchmarkParse-4                  61.6          56.5          -8.28%\n    BenchmarkParseBytes-4             65.7          55.9          -14.92%\n    BenchmarkParseBytesCopy-4         121           115           -4.96%\n    BenchmarkNew-4                    1665          1643          -1.32%\n    BenchmarkUUID_String-4            112           113           +0.89%\n    BenchmarkUUID_URN-4               117           119           +1.71%\n\n    benchmark                         old allocs     new allocs     delta\n    BenchmarkUUID_MarshalJSON-4       4              4              +0.00%\n    BenchmarkUUID_UnmarshalJSON-4     2              2              +0.00%\n    BenchmarkParse-4                  0              0              +0.00%\n    BenchmarkParseBytes-4             0              0              +0.00%\n    BenchmarkParseBytesCopy-4         1              1              +0.00%\n    BenchmarkNew-4                    1              1              +0.00%\n    BenchmarkUUID_String-4            1              1              +0.00%\n    BenchmarkUUID_URN-4               1              1              +0.00%\n\n    benchmark                         old bytes     new bytes     delta\n    BenchmarkUUID_MarshalJSON-4       248           248           +0.00%\n    BenchmarkUUID_UnmarshalJSON-4     248           248           +0.00%\n    BenchmarkParse-4                  0             0             +0.00%\n    BenchmarkParseBytes-4             0             0             +0.00%\n    BenchmarkParseBytesCopy-4         48            48            +0.00%\n    BenchmarkNew-4                    16            16            +0.00%\n    BenchmarkUUID_String-4            48            48            +0.00%\n    BenchmarkUUID_URN-4               48            48            +0.00%","distinct":true,"url":"https://api.github.com/repos/google/uuid/commits/7508f98c71a281f5cb9aa8cdcbe736a7f146919e"},{"sha":"ca12c440f303e53f5a4315443c26057ad4cd7523","author":{"email":"ee183af46cba2406bf6d22cb0a0b731badd8820e@google.com","name":"pborman"},"message":"Merge pull request #5 from bmatsuo/bmatsuo/no-unsafe-parsing\n\noptimize internal parsing function -- avoid unsafe []byte parsing","distinct":true,"url":"https://api.github.com/repos/google/uuid/commits/ca12c440f303e53f5a4315443c26057ad4cd7523"}]}