mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update data_preferences.rst
Correct dictionary re-allocation from "quadratic" to "exponential"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user