Skip to content

Commit

Permalink
another linked property for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Feb 17, 2024
1 parent e9d96b5 commit 23bb61a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
### Fixed
- missing slashes in dvilualatex backend, issue #96

### Changed
- speed gain by using linked properties

## [2024-02-04]
Version 0.98v
Expand Down
6 changes: 6 additions & 0 deletions tagpdf-backend.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
\lua_now:e { ltx.@@.tables.\cs_to_str:N#1 = {} }
}

\cs_set_protected:Npn \@@_prop_new_linked:N #1
{
\prop_new_linked:N #1
\lua_now:e { ltx.@@.tables.\cs_to_str:N#1 = {} }
}


\cs_set_protected:Npn \@@_seq_new:N #1
{
Expand Down
2 changes: 1 addition & 1 deletion tagpdf-mc-shared.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
% key: absolute number of the mc (tagmcabs)\\
% value: the structure number the mc is in
% \begin{macrocode}
\@@_prop_new:N \g_@@_mc_parenttree_prop
\@@_prop_new_linked:N \g_@@_mc_parenttree_prop
% \end{macrocode}
% \end{variable}
%
Expand Down
2 changes: 2 additions & 0 deletions tagpdf.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@
% \begin{macro}
% {
% \@@_prop_new:N
% ,\@@_prop_new_linked:N
% ,\@@_seq_new:N
% ,\@@_prop_gput:Nnn
% ,\@@_seq_gput_right:Nn
Expand All @@ -435,6 +436,7 @@
% }
% \begin{macrocode}
\cs_set_eq:NN \@@_prop_new:N \prop_new:N
\cs_set_eq:NN \@@_prop_new_linked:N \prop_new_linked:N
\cs_set_eq:NN \@@_seq_new:N \seq_new:N
\cs_set_eq:NN \@@_prop_gput:Nnn \prop_gput:Nnn
\cs_set_eq:NN \@@_seq_gput_right:Nn \seq_gput_right:Nn
Expand Down

0 comments on commit 23bb61a

Please sign in to comment.