• Russ Cox's avatar
    strings: remove overengineered Compare implementation · fd4dc91a
    Russ Cox authored
    The function is here ONLY for symmetry with package bytes.
    This function should be used ONLY if it makes code clearer.
    It is not here for performance. Remove any performance benefit.
    
    If performance becomes an issue, the compiler should be fixed to
    recognize the three-way compare (for all comparable types)
    rather than encourage people to micro-optimize by using this function.
    
    Change-Id: I71f4130bce853f7aef724c6044d15def7987b457
    Reviewed-on: https://go-review.googlesource.com/3012Reviewed-by: 's avatarRob Pike <r@golang.org>
    fd4dc91a
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...