NOTE: This isn’t specific to Minecraft Fabric. I’m just new to rigid pre-runtime optimization. I’m writing an API hook for Minecraft mods that allows the mapping of various tasks to a Villager’s “profession” attribute, allowing other mods to add custom tasks for custom professions. I have all of the backend code done, so now I’m worried about optimization. I have
Tag: compile-time
Generate Swift+Java settings object from JSON at compile time
My mobile app has quite a lot of hard-coded data, that I want to share between the native Android and iOS versions of the app. I don’t want to create two settings files for each app: I would like to have a single place where the information is stored. My first thought was using a JSON file embedded with my