Skip to content

remove multipart_key length limitation in toml_seek()#45

Open
Czespo wants to merge 2 commits into
cktan:mainfrom
Czespo:toml-seek
Open

remove multipart_key length limitation in toml_seek()#45
Czespo wants to merge 2 commits into
cktan:mainfrom
Czespo:toml-seek

Conversation

@Czespo

@Czespo Czespo commented Jul 17, 2026

Copy link
Copy Markdown

The length limitation on multipart_key in toml_seek() can be removed by doing some restructuring.

toml_seek() and toml_get() are modified to use a new function tab_find_item(), which takes a string view.

The string view allows us to compare the keys which are not null terminated.

@cktan

cktan commented Jul 18, 2026

Copy link
Copy Markdown
Owner

i think this code address 0.01% of usage. probably not worth the extra code. do you agree?

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