View Issue Details

IDProjectCategoryView StatusLast Update
0017376mantisbtperformancepublic2014-12-08 00:34
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
Description

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.

Activities

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 https://github.com/mantisbt/mantisbt/pull/182

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0017376
mod - core/bug_api.php Diff File