Software /
code /
prosody
Annotate
plugins/mod_pep_plus.lua @ 12040:337b489532b7
util.format: Optimize most common integer format
A search for log formats in use points to %s being the most common,
followed by %d, so worth having a fast path for that. %g works well with
most numbers and is what Lua 5.1 and 5.2 used
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 13 Dec 2021 16:38:33 +0100 |
parent | 9074:0462405b1cfb |
rev | line source |
---|---|
9074
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
1 module:log("error", "mod_pep_plus has been renamed to mod_pep, please update your config file. Auto-loading mod_pep..."); |
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
2 module:depends("pep"); |