aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frequently-asked-questions.rst
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-12-08 06:31:58 +0800
committerchriseth <c@ethdev.com>2015-12-08 06:35:39 +0800
commit92c789a89cdcdb9ef95303f0991e06a833483aaa (patch)
treefb26beda629c24ff2b36d4495af8c348c0cd4e09 /docs/frequently-asked-questions.rst
parent99bb8a9740b3d8105b629c0f6e76557efb0b8620 (diff)
downloaddexon-solidity-92c789a89cdcdb9ef95303f0991e06a833483aaa.tar.gz
dexon-solidity-92c789a89cdcdb9ef95303f0991e06a833483aaa.tar.zst
dexon-solidity-92c789a89cdcdb9ef95303f0991e06a833483aaa.zip
Added some lost changes.
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r--docs/frequently-asked-questions.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst
index 3ee71e64..94491381 100644
--- a/docs/frequently-asked-questions.rst
+++ b/docs/frequently-asked-questions.rst
@@ -547,6 +547,13 @@ Can a regular (i.e. non-contract) ethereum account be closed permanently like a
No. Non-contract accounts "exist" as long as the private key is known by
someone or can be generated in some way.
+What is the difference between `bytes` and `byte[]`?
+====================================================
+
+`bytes` is usually more efficient: When used as arguments to functions (i.e. in
+CALLDATA) or in memory, every single element of a `byte[]` is padded to 32
+bytes which wastes 31 bytes per element.
+
******************
Advanced Questions
******************