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
  • FunctionLookup.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Avoid redundant symbol lookup when parsing functions · 697bf65c
    Olli Etuaho authored Feb 16, 2018
    The lexical phase looks up symbols when it encounters an identifier.
    Instead of duplicating this work when parsing non-constructor
    functions, we now store the symbol looked up in the lexical phase in
    TFunctionLookup.
    
    This improves scores of the real world shader compiler perf test by
    1-2%.
    
    BUG=angleproject:2267
    TEST=angle_unittests
    
    Change-Id: Idc99776571313d8b654910f9daaf9bf34a048228
    Reviewed-on: https://chromium-review.googlesource.com/923725
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    697bf65c
FunctionLookup.h 1.78 KB
EditWeb IDE
×

Replace FunctionLookup.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.