mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 16:03:20 +00:00
docs(crash): use the measured 2.5x in the pane census comment
The JSDoc still carried 3.2x, which was the figure from a bench against a hypothetical count-only walk with no call and no returned object. Against the code as shipped it is 2.5x at 200 panes (1.4x at 8, 2.3x at 50, 2.3x at 1000). The commit message and PR body were corrected; this comment was missed, and a wrong number in the source outlives the one in the log.
This commit is contained in:
@@ -219,7 +219,7 @@ export class PaneManager {
|
||||
}
|
||||
|
||||
/** Why separate from getPanes: same crash-path reason as getPaneCount —
|
||||
* measured 3.2x cheaper at 200 panes than materializing a view per pane. */
|
||||
* measured 2.5x cheaper at 200 panes than materializing a view per pane. */
|
||||
getPaneBufferCensus(): TerminalBufferCensus {
|
||||
return sumTerminalBufferSizes(this.panes.values())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user