Timeline for char vs String in Apex
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 31, 2022 at 1:16 | comment | added | muchavie | Yes it installs in a scratch org. I've enjoyed the project greatly. It has general utility even in its current form. It just didn't work out for the application I had in mind which was a pre filter for the Trigger Actions Framework.(github.com/mitchspano/apex-trigger-actions-framework). Hope you have fun and I'm happy to take a PR! | |
May 30, 2022 at 0:52 | comment | added | sfdcfox♦ | @muchavie That's pretty cool. This is fully installable in a Scratch Org, yes? I'll do some research and maybe I can get you a PR sometime this week. It looks too good to let it go to waste. | |
May 30, 2022 at 0:06 | comment | added | muchavie | sfdcfox, if you're watching this thread there is the final result of the lexer / parser I wrote. Final result was that the parser was too slow to use in production. (Performance of the lever to good thanks to your help! github.com/pogilvie/RecordFilter | |
Jan 11, 2022 at 16:08 | comment | added | muchavie | This is exactly what I looking for! Thank you so much! You're right I had missed getChars(). My plan then is going to be to convert the source string into an array of Integer at the start. Have a combination of constants and helper functions to map integers to supported symbols, letters and numbers digits. Finally convert identifiers back into strings using. fromCharArray(). Definitely a good apex learning experience. | |
Jan 11, 2022 at 15:51 | vote | accept | muchavie | ||
Jan 11, 2022 at 1:06 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |