Software / code / prosody
Comparison
core/sessionmanager.lua @ 2816:59dfb99831ae
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 | 2141:f544729f9228 |
| child | 2832:8c754c61c72e |
comparison
equal
deleted
inserted
replaced
| 2815:84123bcfa0ba | 2816:59dfb99831ae |
|---|---|
| 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; |