Skip to content

Commit a4e5558

Browse files
authored
Update paper typos (#412)
Update paper typos
2 parents a3549d5 + 4b534f8 commit a4e5558

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

paper/HVM2.pdf

8 Bytes
Binary file not shown.

paper/HVM2.typst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,15 +806,15 @@ In HVM2's memory, it would be represented as:
806806
```
807807
RBAG | FST-TREE | SND-TREE
808808
---- | -------- | --------
809-
0800 | CON 0001 | CON 0002 // '& (b a) ~ (x (y *))'
809+
0800 | CON 0002 | CON 0003 // '& (b a) ~ (x (y *))'
810810
1800 | DUP 0005 | REF 0000 // '& {x y} ~ @foo'
811811
---- | -------- | --------
812812
NODE | PORT-1 | PORT-2
813813
---- | -------- | --------
814814
0001 | VAR 0000 | VAR 0001 // '(a b)' node (root)
815815
0002 | VAR 0001 | VAR 0000 // '(b a)' node
816816
0003 | VAR 0002 | CON 0004 // '(x (y *))' node
817-
0004 | VAR 0003 | DUP 0000 // '(y *)' node
817+
0004 | VAR 0003 | ERA 0000 // '(y *)' node
818818
0005 | VAR 0003 | VAR 0002 // '{y x}' node
819819
---- | -------- | --------
820820
VARS | VALUE |
@@ -1185,7 +1185,7 @@ doesn't feature these yet.
11851185

11861186
For example, a single-core C program that adds numbers from 0 to a few billions
11871187
will easily outperform an HVM2 one that uses thousands of threads, given the C
1188-
version is doing no allocation, while C is allocating a tree-like recursive
1188+
version is doing no allocation, while HVM2 is allocating a tree-like recursive
11891189
stack. That said, not every program can be implemented as an allocation-free,
11901190
register-mutating loop. For real programs that allocate tons of short memory
11911191
objects, HVM2 is expected to perform extremely well.

0 commit comments

Comments
 (0)