Just going back on this , I don't think you can avoid large strings unless you allow regular expressions over a separate large string/page type which doesn't seem a great idea. Since for html/xml parsing the initial few parses must work on the whole content.
That said developer can be encouraged to use small strings and only use chunks / regular expressions on larger ones. Ben I think you misread me. I wasn't referring to string creation. I was referring to string indexing. Ignore UCS sizes for a moment; if you create a 64Kbyte string, you're basically done talking about interactive pause times (because of copy delays). So even if the unit size is uniform, a large string must be made of chunks.
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
