Someone posted this on GitHub and is using integers to connect svg files and just sending integers to the CPU vs strings it has two examples and one of the shows a white svg and how sliders can be used to change the color with just math. The other is showing how to connect the svg vs using strings to activate the button.
Can anyone tell if any of this might be useful for my own OS project
https://github.com/dcomeiterateiykyk/D
Found this on GitHub
If your OS project needs a lightweight way to control UI elements, passing integers instead of strings could reduce overhead and simplify parsing. It depends on whether you prioritize performance or flexibility in how elements are defined.
Who is online
Users browsing this forum: No registered users and 6 guests