render.rs
render.rs copied to clipboard
Consider changing SimpleElement attributes to an array
It might be more performant, and because currently, it is static (you can't add attributes on the fly), HashMap doesn't provide any benefit over a [(key, value)]
slice
that being said, I'm not a Rust expert and I haven't measured anything so I'm not worried about that right now.