DictionaryForumContacts

 rostic

link 3.03.2009 9:16 
Subject: power of 2
Добрый день! Подскажите, пожалуйста, как эту фразу перевести. Я смысл даже понять не могу (:
Specifying a buffer size that is a power of 2 results in more efficient memory use.
Определение размера буфера (а именно, использование мощности 2 параметров???) приведет к более эффективному использованию памяти.

If set to 0, the driver caches all insensitive result set data in memory, up to a maximum of 2 GB. If the size of the result set data exceeds available memory, the driver pages the result set data to disk. Because result set data may be written to disk, the driver may have to reformat the data to write it correctly to disk.
If set to x, where x is a positive integer, the driver caches all insensitive result set data in memory, using this value to set the size (in KB) of the memory buffer for caching insensitive result set data. If the size of the result set data exceeds the buffer size, the driver pages the result set data to disk. Because the result set data may be written to disk, the driver may have to reformat the data to write it correctly to disk. Specifying a buffer size that is a power of 2 results in more efficient memory use.

Спасибо.

 SirReal moderator

link 3.03.2009 9:17 
степень двух

 Tante B

link 3.03.2009 9:19 
во второй степени (в квадрате)
о связи размера буфера и эффективности использования памяти
(увеличивая размер вдвое, увеличиваем эффективность вчетверо)

 Tante B

link 3.03.2009 9:20 
SirReal прав!!! Поспешишь - людей насмешишь... :)

 rostic

link 3.03.2009 9:27 
Спасибо большое.

 sascha

link 3.03.2009 10:13 
по степеням двойки (2, 4, 8, 16 и т.д.)

 

You need to be logged in to post in the forum