View Issue Details

IDProjectCategoryView StatusLast Update
0017376mantisbtperformancepublic2014-12-08 00:34
ReportergrangewayAssigned Todregad 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target Version1.3.0-beta.1Fixed in Version1.3.0-beta.1 
Summary0017376: Perf: use sprintf over utf8_str_pad

When dealing with integers, we can make use of php's builtin sprintf function over utf8_str_pad for better performance.

By definition, an integer is not going to be a unicode character.

TagsNo tags attached.


There are no notes attached to this issue.

Related Changesets

MantisBT: master 0748f79a

2014-05-26 12:09:51

Paul Richards

Committer: dregad Details Diff
Fix 0017376: Perf: use sprintf over utf8_str_pad

Patch from grangeway's original pull request [1].

[1] fixes

Signed-off-by: Damien Regad <>
Affected Issues
mod - core/bug_api.php Diff File

Issue History

Date Modified Username Field Change
2014-05-26 11:06 grangeway New Issue
2014-05-28 18:41 grangeway Status new => assigned
2014-05-28 18:41 grangeway Assigned To => grangeway
2014-06-23 06:21 dregad Changeset attached => MantisBT master 0748f79a
2014-06-23 06:21 dregad Assigned To grangeway => dregad
2014-06-23 06:21 dregad Status assigned => resolved
2014-06-23 06:21 dregad Resolution open => fixed
2014-06-23 06:21 dregad Fixed in Version => 1.3.0-beta.1
2014-06-23 12:14 atrol Target Version => 1.3.0-beta.1
2014-12-08 00:34 vboctor Status resolved => closed