User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layer.optimizeparamscache_integer_boolean

Table of Contents

TGIS_Layer.optimizeParamsCache(int, bool) method

DK11 for .NET | TatukGIS.NDK.TGIS_Layer.optimizeParamsCache | Overloads | Constructors | Fields | Methods | Properties | Events

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

Available also on: Delphi | Java.

Syntax

// C#
protected void optimizeParamsCache(
  int _idx,
  bool _lru
);
' VisualBasic
Protected Sub optimizeParamsCache(
  ByVal _idx As Integer,
  ByVal _lru As Boolean
)
// Oxygene
protected
  procedure optimizeParamsCache(
    _idx : Integer;
    _lru : Boolean
  );

Parameters

Name Type Description
_idx int
Integer
index of section on ParamsList
_lru bool
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:16

Page Tools