Changeset 17792 for trunk/FACT++/www


Ignore:
Timestamp:
05/07/14 13:47:15 (11 years ago)
Author:
tbretz
Message:
Neighbors is not used anymore. A JS array will be faster than a php array of fixed size with int-to-int will be faster than accessing a php array.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.php

    r17789 r17792  
    255255// =============================== Some data =================================
    256256
    257 require_once("neighbors.php");
     257//require_once("neighbors.php");
    258258
    259259//$rc['neighbors'] = $neighbors;
     
    315315    $v8->event     = $evt;
    316316    $v8->file      = $fil;
    317     $v8->neighbors = $neighbors;
     317//    $v8->neighbors = $neighbors;
    318318    $v8->clone     = function($data) { return $data; };
    319319    $v8->scale     = $fil['scale']==0 ? 2000./4096. : 1./$fil['scale'];
Note: See TracChangeset for help on using the changeset viewer.