Skip to content

attributed_text: clarify attribute query scan complexity docs#558

Merged
waywardmonkeys merged 1 commit intolinebender:mainfrom
waywardmonkeys:improve-attrivbutes-for-range-docs
Feb 18, 2026
Merged

attributed_text: clarify attribute query scan complexity docs#558
waywardmonkeys merged 1 commit intolinebender:mainfrom
waywardmonkeys:improve-attrivbutes-for-range-docs

Conversation

@waywardmonkeys
Copy link
Contributor

No description provided.

@waywardmonkeys
Copy link
Contributor Author

@tomcur This should help cover your concern from #552.

Document that both `attributes_at` and `attributes_for_range` perform full
`O(n)` scans over applied attributes.

Also clarify guidance for repeated overlap-style queries: use
`AttributeSegmentsWorkspace` to segment once and intersect query ranges with
yielded segments to recover exact covered subranges.
@waywardmonkeys waywardmonkeys changed the title attributed_text: Improve attributes_for_range doc attributed_text: clarify attribute query scan complexity docs Feb 18, 2026
@waywardmonkeys waywardmonkeys force-pushed the improve-attrivbutes-for-range-docs branch from 9c50828 to 4175f09 Compare February 18, 2026 02:53
@waywardmonkeys waywardmonkeys added this pull request to the merge queue Feb 18, 2026
Merged via the queue into linebender:main with commit 228bf1f Feb 18, 2026
24 checks passed
@waywardmonkeys waywardmonkeys deleted the improve-attrivbutes-for-range-docs branch February 18, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments