Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Posts
    1,115

    large strings issue

    Is it just me or are the manipulations of the long strings (~1MB) working very slow (exponentially slow)?
    Even big tables with a lot of normal sized strings...
    Never know what life is gonna throw at you.
    (Based on a true story.)

  2. #2
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    I think I have the same problem with a program I made that analyzes error logs from one of our products. It reads in the error logs as strings and then parses it. When it starts, its fast, but then gets exponentially slower as you said. I thought about trying to split up the file but I don't know how I can improve it that way.

  3. #3
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    Which actions are you using?

    You could try using the built-in Lua string functions to avoid any CString realloc overhead.
    --[[ Indigo Rose Software Developer ]]

  4. #4
    Join Date
    May 2005
    Posts
    1,115
    Mostly concating and replacing (using .. to concat 10-15 strings in a row) small strings from big tables I get from SQLite queries...
    Never know what life is gonna throw at you.
    (Based on a true story.)

Similar Threads

  1. Bug or Script issue?
    By Cummins in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 07-18-2006, 07:33 AM
  2. Concatenate more than 2 strings?
    By toad in forum Setup Factory 7.0
    Replies: 2
    Last Post: 06-08-2005, 03:24 PM
  3. Who can help I solve my confuse for this issue?
    By pierre in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 04-15-2004, 01:36 AM
  4. Comparing Two Strings
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 01:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts