You are here: Foswiki>Tasks Web>Item14387 (31 Jan 2018, MichaelDaum)Edit Attach

Item14387: Improve performance sorting template candidates

pencil
Priority: Normal
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component:
Branches: master Item14288 Item14380 Item14537
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
Devel::NYTProf showed that some sorting in Foswiki::Templates may be improved. Below patch converts the ternary comparison function with a single comparison function using a weighted sum to calculate a candidate ordering.

-- MichaelDaum - 02 May 2017

 
Topic revision: r3 - 31 Jan 2018, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy