D2 is really that stable as it is claimed to be?
Walter Bright
newshound2 at digitalmars.com
Sat Sep 21 22:20:35 PDT 2013
On 9/21/2013 8:17 PM, Michel Fortin wrote:
> You could *replace* the line number with a "byte from start of file" and then
> compute lazily either the line number or the column number for the rare times
> where you actually need to get the line or column number. (Ideally you'd also
> keep a map of the byte offset for the start of each line in a file to make that
> computation fast.)
That's an expensive computation. The trouble is, "compile with symbolic debug
info on" is when you want fast compiles, and you'll need the line number everywhere.
> Column values are of interest in an IDE because it can pinpoint the error more
> precisely. The IDE can show exactly where the error is (for instance with a
> dotted red underline),
I do understand this.
More information about the Digitalmars-d
mailing list