JSON.minify icon indicating copy to clipboard operation
JSON.minify copied to clipboard

fixing performance bug in Perl implementation

Open getify opened this issue 3 years ago • 2 comments

See #64

NOTE: this is not yet ready, as there's still a FIXME to resolve on this line: https://github.com/getify/JSON.minify/pull/68/commits/f80d978db90f9ea3a5e781c3029fbd3adb08aeda#diff-67dad0d447d0301fffaaab6e42c4cf7129200818c5edbf19531fd115eb2f098bR127

getify avatar Dec 15 '21 16:12 getify

Hmmm, so seems tests are failing here? Bummer.

getify avatar Dec 15 '21 17:12 getify

Ha, yes. substr expects its third argument to specify substring length, not end position.

yurikhan avatar Dec 15 '21 17:12 yurikhan