Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 2163:8d33f94dc3a1
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 24 Nov 2009 20:34:22 +0000 |
parent | 2144:8e59d37a0e68 |
child | 2449:678ca4e9a479 |
comparison
equal
deleted
inserted
replaced
2161:6f91d5348847 | 2163:8d33f94dc3a1 |
---|---|
8 | 8 |
9 | 9 |
10 | 10 |
11 local tonumber, tostring = tonumber, tostring; | 11 local tonumber, tostring = tonumber, tostring; |
12 local ipairs, pairs, print, next= ipairs, pairs, print, next; | 12 local ipairs, pairs, print, next= ipairs, pairs, print, next; |
13 local collectgarbage = collectgarbage; | |
14 local format = import("string", "format"); | 13 local format = import("string", "format"); |
15 | 14 |
16 local hosts = hosts; | 15 local hosts = hosts; |
17 local full_sessions = full_sessions; | 16 local full_sessions = full_sessions; |
18 local bare_sessions = bare_sessions; | 17 local bare_sessions = bare_sessions; |