about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorSebastian Gniazdowski <psprint@zdharma.org>2017-07-05 09:35:57 +0200
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2017-07-09 17:34:55 +0100
commite556f9c78d0216c2a543035586bc3a7cd1918d73 (patch)
tree26d0d6af666caebd68dee51d1ae53727b2185f13 /Src/zsh.h
parenta955065cda3dcaa80058520ba55dc0bf5c8d3f08 (diff)
downloadzsh-e556f9c78d0216c2a543035586bc3a7cd1918d73.tar.gz
zsh-e556f9c78d0216c2a543035586bc3a7cd1918d73.tar.xz
zsh-e556f9c78d0216c2a543035586bc3a7cd1918d73.zip
41402: Add hasher to ecstrcode to reduce string comparisons
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index a5b4d8fc4..ccd11db3d 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -813,6 +813,7 @@ struct eccstr {
     char *str;
     wordcode offs, aoffs;
     int nfunc;
+    int hashval;
 };
 
 #define EC_NODUP  0