travisstaloch / simdjzon

simdjson port to zig
107 stars 5 forks source link

possible api improvements #6

Open travisstaloch opened 2 years ago

travisstaloch commented 2 years ago

Ideas from sasuke420 discussion on discord:

travisstaloch commented 1 year ago

i started working on task 4 (parse numbers out of strings) above today in 00cb22ef5aa9025e295275fbd1c4cdf8f3340a3b @sharpobject since you originally suggested this, maybe let me know if you have any thoughts about how to improve it.

i'm about to test this out in simdjzon-rpc where i need it for parsing 'id' fields which may be strings or integers. i'm thinking this will be an improvement over std.fmt.parseInt() which i'm currently using in that project.