File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
TestVectors/dafny/DDBEncryption/src Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,14 @@ module WrappedDDBEncryptionMain {
38
38
39
39
method ASDF ()
40
40
{
41
- // Create a singleton keyVectors client used in every test.
42
- // Right now, all test vectors use the same keys manifest, located at DEFAULT_KEYS.
43
- // Parsing JSON is expensive in some languages.
44
- //
41
+ // KeyVectors client passed to every test.
42
+ // All test vectors currently use the same keys manifest, located at DEFAULT_KEYS.
43
+ // All test vectors can share this same KeyVectors client.
44
+
45
+ // To use a different keys manifest, create a new KeyVectors client.
46
+ // If you need to create a new KeyVectors client, create it as infrequently as possible.
47
+ // Creating this client frequently means JSON is parsed frequently.
48
+ // Parsing JSON is very slow in Python. Parse JSON as infrequently as possible.
45
49
var keyVectors :- expect KeyVectors. KeyVectors (
46
50
KeyVectorsTypes.KeyVectorsConfig(
47
51
keyManifestPath := DEFAULT_KEYS
You can’t perform that action at this time.
0 commit comments