Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Sep 26, 2025

Trade performance for memory.

The tokens array take enormously large amount of data,
which is not ideal for large applications.

For checker.ts,

Capacity before and after are 262144 and 171174 respectively.

Copy link
Member Author

Boshen commented Sep 26, 2025


How to use the Graphite Merge Queue

Add the label merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codspeed-hq
Copy link

codspeed-hq bot commented Sep 26, 2025

CodSpeed Performance Report

Merging #172 will not alter performance

Comparing 09-27-feat_reduce_peak_memory_usage_with_.shrink_to_fit_ (d9318ae) with main (e336929)

Summary

✅ 5 untouched

@Boshen Boshen force-pushed the 09-27-feat_reduce_peak_memory_usage_with_.shrink_to_fit_ branch from 1ecedaa to 92f8082 Compare September 26, 2025 18:05
Trade performance for memory.

The tokens array take enormously large amount of data,
which is not ideal for large applications.

For checker.ts,

Capacity before and after are 262144 and 171174 respectively.
@Boshen Boshen force-pushed the 09-27-feat_reduce_peak_memory_usage_with_.shrink_to_fit_ branch from 92f8082 to d9318ae Compare September 26, 2025 18:11
@Boshen Boshen merged commit ffc7e78 into main Sep 26, 2025
7 checks passed
@Boshen Boshen deleted the 09-27-feat_reduce_peak_memory_usage_with_.shrink_to_fit_ branch September 26, 2025 18:12
@Boshen Boshen mentioned this pull request Sep 26, 2025
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