$(this).attr('id':'name', visibility:'hidden', fill:'black', stroke-width:2)
used this approach for 1000 element to set their attribute. All working fine, but .attr() takes 10ms to execute, I need to optimize it, is there any alternative for .attr().
Thanks in advance