View Issue Details

IDProjectCategoryView StatusLast Update
0017376mantisbtperformancepublic2024-05-14 16:39
Reportergrangeway Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
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.


related to 0034456 resolvedatrol Enhance performance of bug note formatting 


There are no notes attached to this issue.

Related Changesets

MantisBT: master 0748f79a

2014-05-26 08:09

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