Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: huge string table - performance hit?  (Read 4038 times)

0 Members and 1 Guest are viewing this topic.

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
huge string table - performance hit?
« on: July 17, 2008, 10:46:25 AM »

Hi!

I´m slowly working my way through all our scripts, adding strings to the string table and deleting them from the scripts to avoid localization problems. I´m using my own "identification code" and not something like "syseng0101" so that I can easily add correct voice sound files later. By the way, I know there is an automatic string manager and it´s a fine tool, but I´m adding the strings manually (works better for me).

Now I´m wondering if a huge string table hits performance? Would it be better to divide the table into smaller ones and load them dynamically, deleting the old ones if the are not longer used?

Bye,
Oli


 
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: huge string table - performance hit?
« Reply #1 on: July 17, 2008, 12:05:10 PM »

I don't think it would be a performance issue. How many lines do you talk about? 20000 or 1 000 000 ?
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Re: huge string table - performance hit?
« Reply #2 on: July 17, 2008, 01:06:26 PM »

Difficult to say, but I would say roughly 80.000.

Well, I´ll try it. Is there a script function to load different string files? Just to be on the safe side :-)
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Re: huge string table - performance hit?
« Reply #4 on: July 17, 2008, 02:15:48 PM »

Thanks!  :)
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: huge string table - performance hit?
« Reply #5 on: July 17, 2008, 02:41:38 PM »

80.000 lines???

or did you mean words? Standard word count in adventure games is around 30k words which you have to divide through some number to get a line count. I think that either you're creating something terribly huge or it's "slightly" exaggerated. :D
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Re: huge string table - performance hit?
« Reply #6 on: July 17, 2008, 03:27:29 PM »

Yes, it´s going to be huge! Enormous !

No, just joking..I meant words  ;D ...

And even that is a "bit" exaggerated  ;D, but I don´t want to run into performance problems so I added a "couple" of lines..
Logged
 

Page created in 0.264 seconds with 24 queries.