3 ms·
In the PDP era, they would have noticed the overhead of having a variable-length int at the beginning they would have to decode. In the modern era, it's probab
by jerf 9y ago
In the PDP era, they would have noticed the overhead of having a variable-length int at the beginning they would have to decode.
In the modern era, it's probably cheap to the point of being free, because in the vast majority of cases I would expect branch prediction to largely eliminate the checks as being very predictable.
- PopsiclePete 9y agoSo then....they chose correctly?
- jerf 9y agoDespite being vigorously opposed to NUL-termination in the modern era, yes, I would not criticize the people who actually made the decision for the PDP. They had no real reason to believe we'd still be discussing that decision 60 years later.
- pjmlp 9y agoEven in the PDP era I am not so sure, given the architectures and OSes being developed outside AT&T, some of them in production.