electron/shell/renderer/api/context_bridge
Samuel Attard 09870d97b5
perf: optimize data structures in context_bridge::ObjectCache (#27639)
* Use std::forward_list instead of base::LinkedList for better perf,
more consistent memory management.  Better than std::list because we
don't need the double-linked-list behavior of std::list
* Use std::unordered_map instead of std::map for the v8 hash table
2021-02-08 12:30:25 -08:00
..
object_cache.cc perf: optimize data structures in context_bridge::ObjectCache (#27639) 2021-02-08 12:30:25 -08:00
object_cache.h perf: optimize data structures in context_bridge::ObjectCache (#27639) 2021-02-08 12:30:25 -08:00