Lazy initialization

id: lazy-initialization-280-9272424
title: Lazy initialization
text: In computer programming, lazy initialization is the tactic of delaying the creation of an object, the calculation of a value, or some other expensive process until the first time it is needed. It is a kind of lazy evaluation that refers specifically to the instantiation of objects or other resources. This is typically accomplished by augmenting an accessor method to check whether a private member, acting as a cache, has already been initialized. If it has, it is returned straight away. If not, a
brand slug: wiki
category slug: encyclopedia
description:
original url: https://en.wikipedia.org/wiki/Lazy_initialization
date created:
date modified: 2024-03-21T11:01:29Z
main entity: {"identifier":"Q2599269","url":"https://www.wikidata.org/entity/Q2599269"}
image:
fields total: 13
integrity: 13

Related Entries

Explore Next Part