diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-05-19 22:16:54 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-05-19 22:16:54 -0400 |
| commit | cf79085a7a54a2c5c4b904a1b6c9a29d885a0245 (patch) | |
| tree | b0ad00018b2ca52daca8e7f11b2bc1e8b900b1cb /dzref | |
| parent | cb9b22941fc1ba0d70020c96fb171117fdab5e31 (diff) | |
Process multiple assignments at once in pp.bqn, for performance
Diffstat (limited to 'dzref')
| -rwxr-xr-x | dzref | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -85,16 +85,14 @@ _withRef ← ˙ ⟨c,(⥊¨k)⌾(((⊑¨c)⊐k)⊸⊏)n⟩ ∾⟜<¨ ⟨"•Eval","(•Eval _withRef)"⟩ } - ⟨E_proc,E_nodef⟩ ← chrs‿GetRepls •Import "src/pp.bqn" + ⟨E_proc⟩ ← chrs‿GetRepls •Import "src/pp.bqn" + E_nodef ← 0⊸E_proc - lf ← @+10 - pre ← E_proc¨ lf((⊢-˜¬×+`)∘=⊔⊢)impl ExecFile←{ - src ← E_nodef¨ •FLines 𝕩 - ((•path⊸∾⌾⊑(2∾˜∧`⌾⌽'/'≠𝕩)⊔𝕩)∾⟨𝕨⟩) Raw ∾ ∾⟜lf¨ src + ((•path⊸∾⌾⊑(2∾˜∧`⌾⌽'/'≠𝕩)⊔𝕩)∾⟨𝕨⟩) Raw E_nodef •FChars 𝕩 } _withRef ↩ {𝔽∘E_nodef⊘(𝔽⟜E_nodef)} X↩Raw _withRef - Raw ∾ ∾⟜lf¨ pre + Raw E_proc impl (1⊸↓ ExecFile ⊑) •args } |
