Skip to content

Rewrote language handling - #1931

Open
michaelortmann wants to merge 2 commits into
eggheads:developfrom
michaelortmann:language
Open

Rewrote language handling#1931
michaelortmann wants to merge 2 commits into
eggheads:developfrom
michaelortmann:language

Conversation

@michaelortmann

Copy link
Copy Markdown
Member

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Rewrote language handling to use ECS like datastruct for fast cache friendly vectorizable binary search

Additional description (if needed):
In times of RAMmageddon, the new data structure help to saves memory

Test cases demonstrating functionality (if applicable):
Before:

.lstat
Language code report:
   Table size   : 29305 bytes
   Text messages: 562
   64 used, 0 unused, maxdepth 20, avg 8.781250

After:

.lstat
Language code report:
   Table size   : 20345 bytes
   Text messages: 562

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 49cb0a1624

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/language.c Outdated
Comment thread src/language.c
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.

1 participant