Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • HashNames.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Store symbol names as a ImmutableString · fbb1c792
    Olli Etuaho authored Jan 19, 2018
    This will enable compile-time initialization of built-in symbols as
    well as reducing copying strings.
    
    Most of the code that deals with names is changed to use
    ImmutableString where it makes sense to avoid conversions.
    
    The lexer/parser now allocate const char pointers into pool memory
    instead of allocating TStrings. These are then converted to
    ImmutableString upon entering TParseContext.
    
    BUG=angleproject:2267
    TEST=angle_unittests, angle_end2end_tests
    
    Change-Id: I244d6271ea1ecf7150d4f89dfa388a7745a1150c
    Reviewed-on: https://chromium-review.googlesource.com/881561
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    fbb1c792
HashNames.h 954 Bytes
EditWeb IDE
×

Replace HashNames.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.