Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17552

ezimagealiashandler - minor speedup possible

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.0alpha
    • 4.3.0
    • Misc
    • None
    • ez 4.2/4.3

    Description

      Hi,

      ez 4.2

      ezimagealiashandler.php, line 653

      There is:
      require_once( 'kernel/common/image.php' );
      $imageManager = imageInit();

      this is within a foreach loop, code can be moved before the foreach loop.

      Just checked: In ez43 it's replaced with
      $imageManager = eZImageManager::factory();

      But it's still within the foreach loop.

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            andre1 andre1
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: