Repository navigation
Commit 91c7f8c
committed
perf(stack-encrypt): read a record's context field in place
Each sealed field's closure read the record's context field by copying
the frame and parsing the copy, once per field per row. The frame is
now read in place through `IntoLabel for &ValueFrame`, so what each
field does per row is one parse of a short text and no copy. Parsing
once per row would need a slot the field closures share, which the
description has no place for: each field's `under_by` sees the row
alone.
Refs #1488.1 parent 9675de4 commit 91c7f8c
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
978 | | - | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
979 | 981 | | |
980 | 982 | | |
981 | 983 | | |
982 | 984 | | |
983 | | - | |
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
410 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
| |||
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
422 | 429 | | |
423 | 430 | | |
424 | 431 | | |
| |||
0 commit comments