3 ms·
Actually, one of the things I miss the most from AS is... E4X. I work with ton of json, including hundreds of kubernetes definitions per project, and I really
by zeroq 2y ago
Actually, one of the things I miss the most from AS is... E4X.
I work with ton of json, including hundreds of kubernetes definitions per project, and I really miss the ability to parse the data so swiftly and effective with native syntax.
- asdf000333 2y agoI've never used E4X, but it at least looks like it'd make XML more tolerable. Most XML experience I had was ejabberd and XMPP. Was thoroughly pissed off by the end of it. We ended up sending JSON over IQ messages instead because we were super done with XML, only to find that iOS's XML parser takes O(N^2) time to parse each element. Had to split the elements to make it work. 0/10 would not recommend.
- zeroq 2y agohaha, reminds me of the GTA parser drama :)
- asdf000333 2y agoThis? https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/ https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times... LOL
- mickael 2y agoI have been using an event XML parser to process XML on iOS (such as expat). You can processed the XML as a stream and it is very efficient.