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...
Professional Software Development Tools
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.)
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.
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 ]]
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.)