Project

General

Profile

Feature #675731

Cache is_server() in is_my_zoc()

Added by Marko Lindqvist 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

0%


Description

is_my_zoc() is one of the top functions on profile results. Optimize it a bit by calling is_server() outside the square_iterate instead of every roung inside the loop.

0027-Cache-is_server-in-is_my_zoc.patch View (1.02 KB) Marko Lindqvist, 2017-06-09 06:38 PM

History

#1 Updated by Marko Lindqvist 4 months ago

#2 Updated by Marko Lindqvist 3 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF