cstavish / Eurysta

exceedingly high-performance JSON parser in C
Other
5 stars 0 forks source link

IOS and Android #1

Open ademar111190 opened 11 years ago

ademar111190 commented 11 years ago

Tis parse works on IOS and Android?

cstavish commented 11 years ago

The only dependency for this parser is the C standard library. I haven't tested it on iOS or Android, but it should work. One thing you may want to consider for mobile use is the initial size of the bucket array used in the hash table implementation. Right now, it is 32 (see https://github.com/cstavish/Eurysta/blob/master/object.c#L128). Depending on your needs, you may want to change that. I need to add some comments explaining that...and maybe change my implementation.

If you end up using this parser without problems, then don't worry about anything I just wrote, but if memory usage becomes an issue, refer to what I said above.