OK. Last thought on this, and then I'm getting back to work.

The problem here is less the string implementation than the programming
idiom. It's very easy to compile a[i] into a.fetch(i) and then the
implementation does whatever it needs to do.

The more interesting challenge is to either (a) get people to use some form
of StringReader for sequential access to strings, or (b) get the compiler
to automatically inject that, so that O(1) linear access can be achieved.

Anybody got any ideas on how to do that?
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to