User Tools

Site Tools


api:dk11:delphi:gislayer.tgis_layer.optimizeparamscache_integer_boolean

Table of Contents

TGIS_Layer.optimizeParamsCache(Integer; Boolean) method

DK11 for Delphi | GisLayer.TGIS_Layer.optimizeParamsCache | Overloads | Constructors | Fields | Methods | Properties | Events

Move section specified by _idx to the top of the cached list.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  procedure optimizeParamsCache(
    const _idx : Integer;
    const _lru : Boolean
  ); overload;
// C++ Builder
protected:
  void optimizeParamsCache(
    const int _idx,
    const bool _lru
  ) /* overload */;

Parameters

Name Type Description
_idx Integer index of section on ParamsList
_lru Boolean if true then parameter should be reorganized in LRU manner

Remarks

Thanks this last used section will be traversed as a first one giving speed gain.

2020/05/07 01:07

Page Tools