IndexedDB: Avoid copying values for every operation |
||||
Issue descriptionWe do memory copies like this: https://cs.chromium.org/chromium/src/content/browser/indexed_db/indexed_db_backing_store.cc?q=indexed_db_backing_store.h&dr=C&l=1959 For every IndexedDB operation that involves a value (for writes AND reads). This can cause a lot of memory fragmentation and general performance issues. Can we avoid this? Proposal: Put the Int version into the IndexedDBValue struct itself, so we can just save this buffer directly (and read it directly) instead of doing all the copying.
,
Jan 17 2017
+cc me
,
Feb 15 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 20 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by jsb...@chromium.org
, Jan 14 2017