/AI4h ago

Developer Achieves 25% Memory Reduction in Project Using OpenAI Codex

81205166.1K
Original postBoaz Barak#133
Charlie Marsh@charliermarsh

Since my last post, I reduced ty’s retained memory by another 15% with Codex. We're now at a ~25% memory reduction overall via /goal, largely in the background.

I love working with the GPT models so much.

4:28 PM · Jun 8, 2026 · 6.1K Views
Sentiment

Users praise Astral's 25% memory reduction in the Ty type checker via GPT assistance because it delivers valuable background improvements that compound over time in the codebase.

Pos
100.0%
Neg
0.0%
2 comments with sentiment.
Cluster Engagement
Posts from X
Most Activity
Most Activity
VIEWS1.2KLIKES7REPLIES1
Charlie Marsh@charliermarsh

Bang

https://github.com/astral-sh/ruff/pull/25501 https://github.com/astral-sh/ruff/pull/25593 https://github.com/astral-sh/ruff/pull/25606 https://github.com/astral-sh/ruff/pull/25609 https://github.com/astral-sh/ruff/pull/25610 https://github.com/astral-sh/ruff/pull/25649 https://github.com/astral-sh/ruff/pull/25656 https://github.com/astral-sh/ruff/pull/25660 https://github.com/astral-sh/ruff/pull/25661 https://github.com/astral-sh/ruff/pull/25663

4hViews 1.2KLikes 7
Charlie Marsh@charliermarsh

Bang

https://github.com/astral-sh/ruff/pull/25669 https://github.com/astral-sh/ruff/pull/25675 https://github.com/astral-sh/ruff/pull/25682 https://github.com/astral-sh/ruff/pull/25689 https://github.com/astral-sh/ruff/pull/25692 https://github.com/astral-sh/ruff/pull/25694 https://github.com/astral-sh/ruff/pull/25701 https://github.com/astral-sh/ruff/pull/25710 https://github.com/astral-sh/ruff/pull/25723 https://github.com/astral-sh/ruff/pull/25735

4hViews 733Likes 5
Matt Harrison@__mharrison__

@charliermarsh Do you attribute these improvements to Codex itself, the ability to iterate faster, or something else?

3hViews 187
Mikerah@badcryptobitch

@charliermarsh So it is expected that /goal takes a while to run

4hViews 106
kuma 18@xiao18kuma

@charliermarsh Background memory reduction is exactly the kind of win users never notice.

3hViews 51
Subramanya N@subramanya

@charliermarsh this is the kind of agent work that actually compounds. small background diffs are boring one by one, but they make the codebase cheaper to maintain every day.

3hViews 50