Skip to content

Commit d0fdc8d

Browse files
authored
chore: Update README.md (#50)
1 parent eb041f7 commit d0fdc8d

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

README.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ Features:
88
- flexible interface can process arbitrary JSON schemas
99
- O(1) algorithms to query whether keys exist
1010

11-
> **if using bb backend, megaplonk (`bb prove_mega_honk`) will give best performance as json-parser uses a megaplonk-friendly hash function Poseidon2**
12-
> (see [bb documentation](https://github.com/AztecProtocol/aztec-packages/blob/master/barretenberg/cpp/src/barretenberg/bb/readme.md#installation) for install/upgrade details)
13-
1411
## Noir version compatibility
1512

1613
This library is tested with all Noir stable releases from v0.37.0.
@@ -103,36 +100,6 @@ In addition, numbers with decimal points currently are not supported, as well as
103100

104101
For numbers larger than 64 bits, the method `get_value` will work, which will return the ascii raw bytes of the value.
105102

106-
# Cost
107-
108-
How much does this thing cost to use? Details below:
109-
110-
There is an up-front processing cost, as well as a per-query cost.
111-
112-
| json type | cost to parse (in megaplonk gates) |
113-
| --------- | ---------------------------------- |
114-
| 512b | 42k |
115-
| 1kb | 71k |
116-
| 2kb | 128k |
117-
| 4kb | 160k |
118-
| 8kb | 307k |
119-
| 16kb | 574k |
120-
121-
| query type | query cost (in megaplonk gates) |
122-
|-|-|
123-
| `get_value` | 364 |
124-
| `get_number` | 454 |
125-
| `get_literal` | 416 |
126-
| `get_string` | 435 |
127-
| `get_object` | 165 |
128-
| `get_array` | 165 |
129-
| `get_value_unchecked` | 327 |
130-
| `get_number_unchecked` | 415 |
131-
| `get_literal_unchecked` | 346 |
132-
| `get_string_unchecked` | 547 |
133-
| `get_object_unchecked` | 143 |
134-
| `get_array_unchecked` | 143 |
135-
136103
# Advanced Usage
137104

138105
### Fine-grained maximum parameter control

0 commit comments

Comments
 (0)