Skip to content

Comments

refactor cgltf_json_to_int(), cgltf_json_to_size(), cgltf_json_to_float() without strncpy()#264

Closed
tigrazone wants to merge 1 commit intojkuhlmann:masterfrom
tigrazone:master
Closed

refactor cgltf_json_to_int(), cgltf_json_to_size(), cgltf_json_to_float() without strncpy()#264
tigrazone wants to merge 1 commit intojkuhlmann:masterfrom
tigrazone:master

Conversation

@tigrazone
Copy link

No description provided.

@tigrazone
Copy link
Author

works little bit faster and dont use additional memory and dont use time for copy string

@pixeljetstream
Copy link
Contributor

This proposal doesn't respect the const pointer input. The string could come from memory mapped file or other non-writeable input.

@tigrazone tigrazone closed this May 11, 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