Changeset 61665 in spip-zone


Ignore:
Timestamp:
May 25, 2012, 8:24:53 AM (7 years ago)
Author:
fil@…
Message:

essayer d'eviter d'exploser la memoire sur les tres tres gros diff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/revisions/inc/diff.php

    r47389 r61665  
    3030        // Insertion des points
    3131        asort($s);
    32         foreach ($s as $y => $c) {
     32        foreach (array_slice($s,0,400) as $y => $c) {
    3333                for ($len = $max_len; $len > 0; $len--) {
    3434                        if ($paths_ymin[$len] < $y) {
Note: See TracChangeset for help on using the changeset viewer.