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
  • libGLESv2.gni
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Re-land "Add FastVector for simple dynamic vector cases." · bf7cfbea
    Jamie Madill authored Sep 19, 2018
    Re-land fixes memory leak and adds inline to a few more methods.
    
    This optimized vector keeps an initial fixed size storage but has
    unbounded growth like a normal std::vector. It operates like a
    FixedVector initially but then switches the storage to an allocated
    pool when the element count exceeds the array limit.
    
    This gives fast performance in the small case since no dynamic
    allocation is needed. It also handles the "slow" big case.
    
    Bug: angleproject:2763
    Change-Id: Ib3cc7b652a14ed346528bf15820023ab0b5317ce
    Reviewed-on: https://chromium-review.googlesource.com/1233453
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    bf7cfbea
libGLESv2.gni 41.2 KB
EditWeb IDE
×

Replace libGLESv2.gni

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.