commit | 318d067cbab77119f3a3fc0fe74fea4d35f0deb7 | [log] [tgz] |
---|---|---|
author | Olivier Mengué <dolmen@cpan.org> | Mon May 16 08:56:29 2016 +0200 |
committer | Olivier Mengué <dolmen@cpan.org> | Mon May 16 09:00:44 2016 +0200 |
tree | 48383bd884bef672da12a41faee2484c578c02d5 | |
parent | f25c15bb0a88f181d997ccd2c791251d4225732e [diff] |
Constructor: one less array copy Keep the storage allocated by strings.Split() and just use a shorter slice instead of allocating a brand new array and copying to it.
An implementation of JSON Pointer - Go language
http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07
The 4.Evaluation part of the previous reference, starting with ‘If the currently referenced value is a JSON array, the reference token MUST contain either...’ is not implemented.