News for hackers. Stuff that matters.
Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by eviks on Thursday August 27, 2026 @03:13PM (#49469798)
> Data structures, not algorithms, are central to programming

So you agree that they should've designed the system to use the appropriate data structure from the beginning?

Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by ecnahc515 on Thursday August 27, 2026 @03:22PM (#49469930)
Notice rules are ordered. You don't optimize until you know you need it. They started with a data structure they though would be fine. Clearly it was fine since it worked and they decided it was later worth optimizing.
Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by win311fwg on Thursday August 27, 2026 @03:48PM (#49470235)
The existence of 1.1.1.1 speaks to a much larger design problem. If you want to talk about what should have been done, you need to step much, much further back.
Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by eviks on Thursday August 27, 2026 @03:52PM (#49470293)
I don't want to step back and go off topic
Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by win311fwg on Thursday August 27, 2026 @04:30PM (#49470809)
"Should" cannot be evaluated in a vacuum. The only thing that would be off-topic is pretending that it can be.
Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by x-complexity on Friday August 28, 2026 @03:59AM (#49475717)
Rule 5 is superseded by Rules 1 & 2. Without the measurements to back it up, you're chasing phantoms.
Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN... by eviks on Friday August 28, 2026 @04:06AM (#49475770)
Notice Rules 1&2 are about speed, not memory. But also, what do you think the issue with measurement is in this case??