diff options
author | shennetsind <ind@henn.et> | 2013-06-13 06:36:07 -0300 |
---|---|---|
committer | Euphy <euphy@rathena.org> | 2013-06-15 15:51:28 -0400 |
commit | e721aebea358e6c480d7788911eed82b84ef523f (patch) | |
tree | 86fff67a8ddad132b8da0e5ae8fb26a893ab550b /src/map/script.h | |
parent | 0bcefa16b14cc32a98d00e8a783bcf252c7fa1a1 (diff) | |
download | hercules-e721aebea358e6c480d7788911eed82b84ef523f.tar.gz hercules-e721aebea358e6c480d7788911eed82b84ef523f.tar.bz2 hercules-e721aebea358e6c480d7788911eed82b84ef523f.tar.xz hercules-e721aebea358e6c480d7788911eed82b84ef523f.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.h | 3 |
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); |