#Silice latest improvements (draft branch): - while/if/else use fewer cycles✅ - faster parsing! (another x2 gained) ✅ - command line tool to see how code maps to cycles ✅
Example of improvement in cycles, visualized with the new tool (before:6, after:2). https://t.co/58raBNcqoZ
11 likes · 4 retweets
Tweet 22023-03-22 20:11 UTC
Because the fewer-cycle optimization can impact existing code, Silice outputs a 'change log report' indicating everywhere the changes may have an impact: https://t.co/j0kiUNwul6
2 likes · 1 retweets
Tweet 32023-03-22 20:11 UTC
Thanks to @suarezvictor for pointing out opportunities for fewer cycles, and to github users rob-ng15 and at91rm9200 for tests and suggestions!
2 likes · 0 retweets
Tweet 42023-03-22 20:11 UTC
To visualize cycles with the tool, build your project (e.g. 'make target') and then run http://report-cycles.py target http://source.si Here is how it looks on the doomchip (raycaster part): https://t.co/BUUJXyRs0I