On 08/03/2008, Tom Tromey <[EMAIL PROTECTED]> wrote: > > Perhaps I was mistaken to state an implementation preference this > early, anyway. It would be fine by me to have an implementation that > works in any reasonable way. If the "don't free" approach proves too > costly, with sane API design we will know we can always rip it out and > go with "reopen and seek". >
Well, like Jan said, there is no much API design going on here because we just need to pass an extra "offset" every time we put a new line in the line_map and retrieve a pointer to a string from a source location. I think all potential implementations will work with such API. Cheers, Manuel.