Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6114 closed enhancement (duplicate)

fcleanup function perfomance speed up

Reported by: vamp Owned by:
Priority: undecided Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: fcleanup Cc: vamphouse@…
Blocked by: Blocking:


return nm.replace(/[\w\s\.\|`]/g, function( ch ) {

return "
" + ch;



nm.replace(/(?=[\w\s\.\|`])/g, '

Change History (4)

comment:1 Changed 6 years ago by vamp

excuse me, "^" character was dropped from initial RegExp: http://gyazo.com/cf062387ab1881de8771199fd5257e2f.png

comment:2 Changed 6 years ago by ridgerunner

A fix very similar to this one was recently implemented (See #7062). However, the fix recommended here might be even faster. Only benchmarking can tell...

comment:3 Changed 6 years ago by snover

  • Priority set to undecided
  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 6 years ago by snover

Duplicate of #7062.

Note: See TracTickets for help on using tickets.