commit | 47860ed5050030567bf1c659b7a838c139699c46 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 10 14:07:50 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 11 20:41:47 2015 +0100 |
tree | e57270b67be28f49f3d052c83ae1edf098d3a932 | |
parent | 2a71af4c4f5124aa6a2c635614ecfbffbd3ac604 [diff] |
MEDIUM: lua: remove struct hlua_channel Since last cleanups, this one was only used to carry a struct channel. Removing it makes the code a bit cleaner (no more chn->chn) and easier to follow (no more abstraction for a common type). Interestingly it happens to also make the Lua code slightly faster (about 1.5%) when using channels, probably thanks to less pointer dereferences and maybe the use of lua_pushlightuserdata().