Skip to content

Commit 6323f8b

Browse files
committed
Update port.yaml
1 parent 762637e commit 6323f8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

markdown_it/port.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
to manipulate `Token.attrs`, which have an identical signature to those upstream.
2424
- Use python version of `charCodeAt`
2525
- |
26-
Reduce use of charCodeAt() by storing char codes in a srcCharCodes attribute for state
27-
objects and sharing those whenever possible
26+
Reduce use of charCodeAt() by storing char codes in an `_ords` attribute
27+
(accessible via `srcCharCodeAt` method) for state objects and sharing
28+
those whenever possible.
2829
This provides a significant performance boost
2930
- |
3031
In markdown_it/rules_block/reference.py,

0 commit comments

Comments
 (0)