Mercurial > prosody-hg
comparison util/timer.lua @ 4797:e239668aa6d2
Merge 0.9->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 29 Apr 2012 02:10:55 +0100 |
| parents | 0c7ae4bfc835 |
| children | 07d0a3a75c8a |
comparison
equal
deleted
inserted
replaced
| 4796:04a34287dc12 | 4797:e239668aa6d2 |
|---|---|
| 13 | 13 |
| 14 local math_min = math.min | 14 local math_min = math.min |
| 15 local math_huge = math.huge | 15 local math_huge = math.huge |
| 16 local get_time = require "socket".gettime; | 16 local get_time = require "socket".gettime; |
| 17 local t_insert = table.insert; | 17 local t_insert = table.insert; |
| 18 local t_remove = table.remove; | 18 local pairs = pairs; |
| 19 local ipairs, pairs = ipairs, pairs; | |
| 20 local type = type; | 19 local type = type; |
| 21 | 20 |
| 22 local data = {}; | 21 local data = {}; |
| 23 local new_data = {}; | 22 local new_data = {}; |
| 24 | 23 |
