Sfoglia il codice sorgente

Merge pull request #10971 from Ivorforce/remove-vmap-cpp

Remove `VMap` from c++ data types.
Matthew 2 mesi fa
parent
commit
0027821302
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      contributing/development/cpp_usage_guidelines.rst

+ 0 - 4
contributing/development/cpp_usage_guidelines.rst

@@ -115,10 +115,6 @@ scripting API.
 | ``RBMap``              | ``std::map``             | Uses a `red-black tree <https://en.wikipedia.org/wiki/Red-black_tree>`__              |
 | ``RBMap``              | ``std::map``             | Uses a `red-black tree <https://en.wikipedia.org/wiki/Red-black_tree>`__              |
 |                        |                          | for faster access.                                                                    |
 |                        |                          | for faster access.                                                                    |
 +------------------------+--------------------------+---------------------------------------------------------------------------------------+
 +------------------------+--------------------------+---------------------------------------------------------------------------------------+
-| ``VMap``               | ``std::flat_map``        | Uses copy-on-write (COW) semantics.                                                   |
-|                        |                          | This means it's generally slower but can be copied around almost for free.            |
-|                        |                          | The performance benefits of ``VMap`` aren't established, so prefer using other types. |
-+------------------------+--------------------------+---------------------------------------------------------------------------------------+
 | ``Dictionary`` 📜      | ``std::unordered_map``   | Keys and values can be of any Variant type. No static typing is imposed.              |
 | ``Dictionary`` 📜      | ``std::unordered_map``   | Keys and values can be of any Variant type. No static typing is imposed.              |
 |                        |                          | Uses shared reference counting, similar to ``std::shared_ptr``.                       |
 |                        |                          | Uses shared reference counting, similar to ``std::shared_ptr``.                       |
 |                        |                          | Preserves insertion order. Uses ``HashMap<Variant>`` internally.                      |
 |                        |                          | Preserves insertion order. Uses ``HashMap<Variant>`` internally.                      |