Greetings,
I’m currently developing an html application. part of this application involves parsing very large text files and producing formatted tables.
Parsing speed is becomng an issue, so now I’m looking for ways to reduce the amount of text being concatenated.
One of the major functions involve transforming each particular line as such:
Sample Line Before:
[CODE]XXX XXX ##### XX #### #### ##############XXX # XXX
After: (just 1 field shown as a sample)
[CODE]<tr><td oncontextmenu=’Lcon6(this)’><pre><a href=’#’ onclick=’STATDetail(Trim(this.innerText))’>XXX</a></pre></td></tr>
Its apparent that with larger and larger text files this function will get increasingly slow. Is there a way to reduce the output length without losing functionality? (besides changing the name of the functions to 1-2 digit names)
Perhaps xmlns is the answer? I haven’t used it enought to know its abilities in regards to something like this.