Skip to content

Commit ed67829

Browse files
committed
Add mechanism to "preload" the lazy variables via global context
1 parent 361fded commit ed67829

37 files changed

Lines changed: 147 additions & 0 deletions

src/auspost.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ begin
106106

107107
} bind put
108108

109+
/uk.co.terryburton.bwipp.global_ctx dup where {
110+
exch get /preload known {//auspost.latevars /init get exec} if
111+
} {pop} ifelse
112+
109113
/auspost {
110114

111115
20 dict begin

src/azteccode.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ begin
249249

250250
} bind put
251251

252+
/uk.co.terryburton.bwipp.global_ctx dup where {
253+
exch get /preload known {//azteccode.latevars /init get exec} if
254+
} {pop} ifelse
255+
252256
/azteccode {
253257

254258
20 dict begin

src/bc412.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ begin
8080

8181
} bind put
8282

83+
/uk.co.terryburton.bwipp.global_ctx dup where {
84+
exch get /preload known {//bc412.latevars /init get exec} if
85+
} {pop} ifelse
86+
8387
/bc412 {
8488

8589
20 dict begin

src/codablockf.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ begin
164164

165165
} bind put
166166

167+
/uk.co.terryburton.bwipp.global_ctx dup where {
168+
exch get /preload known {//codablockf.latevars /init get exec} if
169+
} {pop} ifelse
170+
167171
/codablockf {
168172

169173
20 dict begin

src/code11.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ begin
7575

7676
} bind put
7777

78+
/uk.co.terryburton.bwipp.global_ctx dup where {
79+
exch get /preload known {//code11.latevars /init get exec} if
80+
} {pop} ifelse
81+
7882
/code11 {
7983

8084
20 dict begin

src/code128.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ begin
225225

226226
} bind put
227227

228+
/uk.co.terryburton.bwipp.global_ctx dup where {
229+
exch get /preload known {//code128.latevars /init get exec} if
230+
} {pop} ifelse
231+
228232
/code128 {
229233

230234
20 dict begin

src/code16k.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ begin
197197

198198
} bind put
199199

200+
/uk.co.terryburton.bwipp.global_ctx dup where {
201+
exch get /preload known {//code16k.latevars /init get exec} if
202+
} {pop} ifelse
203+
200204
/code16k {
201205

202206
20 dict begin

src/code39.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ begin
8181

8282
} bind put
8383

84+
/uk.co.terryburton.bwipp.global_ctx dup where {
85+
exch get /preload known {//code39.latevars /init get exec} if
86+
} {pop} ifelse
87+
8488
/code39 {
8589

8690
20 dict begin

src/code49.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,10 @@ dup [ exch 16 exch 1 32 getinterval aload pop ] /code49.weighty exch readonly de
843843

844844
} bind put
845845

846+
/uk.co.terryburton.bwipp.global_ctx dup where {
847+
exch get /preload known {//code49.latevars /init get exec} if
848+
} {pop} ifelse
849+
846850
/code49 {
847851

848852
20 dict begin

src/code93.ps.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ begin
8989

9090
} bind put
9191

92+
/uk.co.terryburton.bwipp.global_ctx dup where {
93+
exch get /preload known {//code93.latevars /init get exec} if
94+
} {pop} ifelse
95+
9296
/code93 {
9397

9498
20 dict begin

0 commit comments

Comments
 (0)