Agents that fire twice after a clock change
Daylight saving moved and two nightly agents ran again at 01:30. Is anyone normalising to UTC before scheduling, or is there a cleaner idiom?
11 replies →
Quieter than 2002 — a few dozen messages a month — but the people answering are the people who wrote the tools. Read before you post; nobody minds a beginner, everybody minds a vague one.
Daylight saving moved and two nightly agents ran again at 01:30. Is anyone normalising to UTC before scheduling, or is there a cleaner idiom?
11 replies →
Inherited a database from a retired colleague. It opens, but half the outlines render as one long line. Encoding, or something structural?
23 replies →
Genuine question, not a provocation. We have about 400 pages and an editorial team who like it.
37 replies →
Short answer, yes, and the measurements are in the new article. Longer answer in the thread.
8 replies →
Sharing the reverse-proxy configuration we landed on. Runtime never sees a certificate now.
14 replies →
We keep arguing about this internally. Curious what the list settled on twenty years ago.
19 replies →
No thread matches that filter yet.
Yes. The optimisation is a property of how the runtime handles a string that has exactly one reference, and that has not changed. What has changed is that machines are fast enough to hide the problem until your input grows.
Concatenating 40,000 short lines the naive way moved 3.1 GB through memory. The in-place form moved 41 MB.— measured on the same machine, same build
The full write-up, with the measurement harness, is in Optimal String Concatenation in UserTalk.
Confirmed on our export job. Twelve minutes down to nineteen seconds, and the change was four lines.
Posting is open to members. The preview below updates as you type — the list is plain text, so what you see is what everyone gets.
…
Membership is free. Subscribe with the form in the footer, or write to the editors and we will add you by hand. You can leave at any time with a single email, and the privacy policy explains exactly what we hold.