Skip to content

Commit 0808317

Browse files
committed
Refactor render() to use compiled placeholder data
Replace inline parsing with a render loop that uses pre-compiled placeholder metadata. Track text normalizations and attribute text segments during compilation. Apply all updates from end to start using substr_replace() to preserve positions. This completes the lazy compilation refactor: compile once on first use, then reuse cached metadata for subsequent bind/render calls.
1 parent c8a73cf commit 0808317

1 file changed

Lines changed: 132 additions & 239 deletions

File tree

0 commit comments

Comments
 (0)