Skip to content

Commit 71e6ffd

Browse files
committed
words
1 parent 56b8dbe commit 71e6ffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/blog/posts/release1.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ These widgets are either within the viewable area, or close by.
253253
The widgets not included in the list (`widget7`, `widget8`) we can confidently conclude that they are not visible.
254254
If we need to know precisely which widgets are visible we can check their regions individually.
255255

256-
The useful property of this algorithm is that as the number of widgets increases, the time it takes to figure out which are visible stays relatively constant.
257-
Scrolling a view of 8 widgets, takes about the same time has a view of 1000 widgets.
256+
The useful property of this algorithm is that as the number of widgets increases, the time it takes to figure out which are visible stays relatively constant. Scrolling a view of 8 widgets, takes much the same time as a view of 1000 widgets or more.
258257

258+
The code for our `SpatialMap` isn't part of the public API and therefore not in the docs, but if you are interested you can check it out here: [_spacial_map.py](https://github.com/Textualize/textual/blob/main/src/textual/_spatial_map.py).
259259

260260
[^1]: A term I coined for the structure in Textual. There may be other unconnected things known as spatial maps.
261261
[^2]: The [grid](https://www.youtube.com/watch?v=lILHEnz8fTk&ab_channel=DaftPunk-Topic).

0 commit comments

Comments
 (0)