Merge pull request #203 from fHachenberg/fHachenberg-refined-quickstart-note

Refined note in quickstart doc
This commit is contained in:
Jacob Alexander
2020-02-13 19:52:02 -08:00
committed by GitHub

View File

@@ -98,7 +98,7 @@ For now, let's grab the first element out of this list and assign it to a variab
alice = people[0] alice = people[0]
.. note:: It is a very bad idea to call `init` more than once on a single field. Every call to `init` allocates new memory inside your Cap'n Proto message, and if you call it more than once, the previous memory is leaked. .. note:: It is a very bad idea to call `init` more than once on a single field. Every call to `init` allocates new memory inside your Cap'n Proto message, and if you call it more than once, the previous memory is left as dead space in the message. See `Tips and Best Practices <https://capnproto.org/cxx.html#tips-and-best-practices>`_ for more details.
Primitive Types Primitive Types
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~