Kenneth Zadeck <[EMAIL PROTECTED]> writes: > The issue is not the io. The current organization, with each function > arranged in its own section is designed to so that that section can be > memory mapped in. The question how much work is it going to be to > transform what is mapped in into the working representation. > > The unswizzling of the pointers will be a certain amount of work and > will most likely touch a fairly dense amount of the program > representation vs parsing it which will read everything and create a new > representation of everything.
I believe we should head toward an IR which does not require unswizzling of pointers. That is, the IR should itself be the working representation. It's fine to do some work when writing out the IR to make this happen, but I think we should strive to avoid doing work when reading it in. I know we aren't close to this at present. > All that I was saying was that that parsing is not obviously the wrong > way to go if it means that the subsequent data structures are better > suited for the kinds of manipulations that we are going to make. Sure. Ian