Skip to content
Snippets Groups Projects
Select Git revision
  • 07a7ac9ac1778f39da6722df82298a1fe3e0099d
  • master default
  • fix-remote-url_v4.9.1
  • fix-remote-url_v4.8.3
  • fix-remote-url_v4.8.x
  • fix-remote-url_v4.7.x
  • fix-remote-url_v4.6.0
  • fix-remote-urls
8 results

locallib.php

Blame
    • Tim Hunt's avatar
      07a7ac9a
      Performance: reduce calls stack_maxima_latex_tidy > stack_string · 07a7ac9a
      Tim Hunt authored
      This is a bit quick and dirty. The use of static here is dangerous. E.g.
      this will break if one script tries to process things where some is in
      one language and some is in another.
      
      However, perf testing a quiz with 7 STACK questions, that caused
      685 calls to stack_maxima_latex_tidy which caused ~7000 calls
      to Moodle's get_string, which too about 1.5s of the page load time.
      So, in the common case where everything is in one language, this is
      a worthwhile performance win. If it causes bugs for some people, we
      can fix that later.
      07a7ac9a
      History
      Performance: reduce calls stack_maxima_latex_tidy > stack_string
      Tim Hunt authored
      This is a bit quick and dirty. The use of static here is dangerous. E.g.
      this will break if one script tries to process things where some is in
      one language and some is in another.
      
      However, perf testing a quiz with 7 STACK questions, that caused
      685 calls to stack_maxima_latex_tidy which caused ~7000 calls
      to Moodle's get_string, which too about 1.5s of the page load time.
      So, in the common case where everything is in one language, this is
      a worthwhile performance win. If it causes bugs for some people, we
      can fix that later.
    FORMULA 301 B
    name: mysql
    os: RedHat, CentOS, Debian, Ubuntu, Suse, Gentoo, FreeBSD
    os_family: RedHat, Debian, Suse, Gentoo, FreeBSD
    version: 0.54.2
    release: 1
    minimum_version: 2015.8
    summary: Formula for installing MySQL
    description: Formula for installing MySQL database client and/or server
    top_level_dir: mysql