summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-13 06:36:07 -0300
committershennetsind <ind@henn.et>2013-06-13 06:36:07 -0300
commite1d190ec646480348cf57c280166e9fe4b3796c0 (patch)
treefa2d72c99bfc8eba70ded0484fcf5654104447fe /src/map/script.h
parent0aa4e1b85f3b195f76ca9d36cb4e92156e140600 (diff)
downloadhercules-e1d190ec646480348cf57c280166e9fe4b3796c0.tar.gz
hercules-e1d190ec646480348cf57c280166e9fe4b3796c0.tar.bz2
hercules-e1d190ec646480348cf57c280166e9fe4b3796c0.tar.xz
hercules-e1d190ec646480348cf57c280166e9fe4b3796c0.zip
Performance Update: Script Parser
Now 7% faster, at the expense of (at most 11kb) Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index ab4a58626..96fcdc23a 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -349,6 +349,9 @@ struct script_interface {
char *str_buf;
int str_size; // size of the buffer
int str_pos; // next position to be assigned
+ //
+ char *word_buf;
+ int word_size;
/* */
void (*init) (void);
void (*final) (void);