]> Cypherpunks repositories - gostls13.git/commit
runtime: minor improvement of string scanning
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 26 Mar 2014 11:03:58 +0000 (15:03 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Wed, 26 Mar 2014 11:03:58 +0000 (15:03 +0400)
commit40f5e67571d6ce299140638e40bea6b00cc76330
tree6bf3a1c3601fd47e41d510d260cb3b48bdd6ef0d
parent61f2fabd3824e32d4ca23c6f08c200c21de4bd10
runtime: minor improvement of string scanning
If we set obj, then it will be enqueued for marking at the end of the scanning loop.
This is not necessary, since we've already marked it.
This can wait for 1.4 if you wish.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/80030043
src/pkg/runtime/mgc0.c