diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-07-30 13:40:47 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-07-30 13:40:47 +0000 |
commit | 266b7d8231be5bf5ff614a6bdcf688b54248c108 (patch) | |
tree | e24780688521b9d679650dbe2861212024752319 /LICENCE | |
parent | 1c5990316d01f6942a4271801e891b0c67496a53 (diff) | |
download | hercules-266b7d8231be5bf5ff614a6bdcf688b54248c108.tar.gz hercules-266b7d8231be5bf5ff614a6bdcf688b54248c108.tar.bz2 hercules-266b7d8231be5bf5ff614a6bdcf688b54248c108.tar.xz hercules-266b7d8231be5bf5ff614a6bdcf688b54248c108.zip |
Small cleanup of script.c
* removed DEBUG_FUNCIN (some tracing code for expression parsing)
* cleaned up the hashing functions code a bit
* removed SCRIPT_HASH_PJW since it gives results identical to SCRIPT_HASH_ELF
* switched the hashing function used to ELF, since on current eathena it gives strictly better results than all others (w.r.t. entry count in buckets whose size is above the expected average)
- note: ELF behaves very poorly if SCRIPT_HASH_SIZE is changed to 1024, others don't.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13018 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'LICENCE')
0 files changed, 0 insertions, 0 deletions