Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
You need to sign in or sign up before continuing.
  • go
  • src
  • encoding
  • binary
  • binary.go
Find file BlameHistoryPermalink
  • Alexandru Moșoi's avatar
    encoding/binary: remove bound checks from conversions. · ebd9f1bd
    Alexandru Moșoi authored Mar 13, 2016
    * This the simplest solution I could came up with
    that doesn't required changing the compiler.
    * The bound checks become constants now
    so they are removed during opt phase.
    
    Updates #14808
    
    Change-Id: If32c33d7ec08bb400321b465015d152f0a5d3001
    Reviewed-on: https://go-review.googlesource.com/20654
    
    
    Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    ebd9f1bd
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7