# Clarion Extensions v0.5.8 — Massive perf boost on large files

**URL:** <https://clarionhub.com/t/clarion-extensions-v0-5-8-massive-perf-boost-on-large-files/8790>\
**Category:** Announcements\
**Tags:** ide\
**Created:** [November 17, 2025, 10:12pm UTC](https://clarionhub.com/t/clarion-extensions-v0-5-8-massive-perf-boost-on-large-files/8790 "2025-11-17T22:12:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Sarson](https://clarionhub.com/user_avatar/clarionhub.com/mark_sarson/32/6132_2.png) [@Mark\_Sarson](https://clarionhub.com/u/Mark_Sarson)\
**Post date:** [November 17, 2025, 10:12pm UTC](https://clarionhub.com/t/clarion-extensions-v0-5-8-massive-perf-boost-on-large-files/8790/1 "2025-11-17T22:12:58Z")

</div>

Clarion Extensions v0.5.8 is now available on the VS Code Marketplace. This release delivers major performance improvements for large Clarion files (14k+ lines).

What’s new

- Tokenization: 10× faster (5800ms → 598ms) via pre-compiled regex, character-class pre-filtering, optimized pattern order, reduced logging, and incremental line caching.
- Symbols: 55× faster (6000ms → 110ms) by removing O(n²) scans and using a line index for O(1) lookups.
- Folding: ~60% faster (10ms → 4ms) with single-pass filtering and pre-filtered region handling.
- Structure View: 20+ sec → \<1 sec using top-level parallel expansion and reduced delays.
- UX: Duplicate warning spam fixed; clearer “Language client not initialized” message.
- Diagnostics: Added performance logging (search for “📊 PERF:” in Output).

Install / Update

- Marketplace: [Clarion Extensions on VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=msarson.clarion-extensions)
- Release notes (.vsix inside): [GitHub Release v0.5.8](https://github.com/msarson/Clarion-Extension/releases/tag/v0.5.8)

Feedback / Issues

- [GitHub Issues](https://github.com/msarson/Clarion-Extension/issues)

Credits

- Performance work completed in collaboration with GitHub Copilot on 2025-11-17.

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [November 18, 2025, 1:57am UTC](https://clarionhub.com/t/clarion-extensions-v0-5-8-massive-perf-boost-on-large-files/8790/2 "2025-11-18T01:57:50Z")

</div>

Really appreciate all the work you’ve done on this, Mark.
