Pārlūkot izejas kodu

Update data_preferences.rst

Correct dictionary re-allocation from "quadratic" to "exponential"

(cherry picked from commit 76e76e2a25764fe9c210faac47792e9523119dd2)
0WN463 1 gadu atpakaļ
vecāks
revīzija
dc481e4b97
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tutorials/best_practices/data_preferences.rst

+ 1 - 1
tutorials/best_practices/data_preferences.rst

@@ -129,7 +129,7 @@ the expense of memory and some minor operational efficiency.
 
     - HashMaps maintain gaps of unused memory interspersed in the table
       on purpose to reduce hash collisions and maintain the speed of
-      accesses. This is why it constantly increases in size quadratically by
+      accesses. This is why it constantly increases in size exponentially by
       powers of 2.
 
 As one might be able to tell, Dictionaries specialize in tasks that Arrays