Landing: b6dabcdc335a

Project / Subsystem

gcc / cobol

Date

2026-09-06

Author

Robert Dubner

Commit

b6dabcdc335a9d1a942d489725e5a0fadcb5b55f

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
b6dabcdc335a9d1a942d489725e5a0fadcb5b55f
source_type
github
headline
cobol: Improve INSPECT performance with specialized routines.
tldr
Optimizes COBOL INSPECT performance by separating single-byte and multi-byte operations and using task-specific search routines.
author
Robert Dubner
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • optimization
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-09-06T00:00:00.000Z

This commit enhances the performance of the COBOL INSPECT statement by refactoring its library routines. It now differentiates between single-byte and multi-byte character processing, applying specialized, faster routines for each. Additionally, new task-specific routines are introduced for efficient string searching within memory.