3 ms·
So your point is that 100000 td elements are slower than 100000 divs with all CSS and data mostly the same? I am also not a professional webdev but that is unbe
by eimrine 4y ago
So your point is that 100000 td elements are slower than 100000 divs with all CSS and data mostly the same? I am also not a professional webdev but that is unbelievable. My expectation is that nothing can beat tables if rendering some table data is needed. All that table/tr/td stuff must be hardware accelerated in some way because a <tr></tr> means a table row and nothing else while <div></div> may be anything.
I haven't done any researches but I hope making table using table/tr/td is like to do running using running shoes, while making table using div is like running using regular shoes - or table syntax should be deprecated ASAP.
- raxxorraxor 4y agoI think there are some (historic?) rules for tables in how their width is calculated which doesn't happen with divs. Not really sure though, I am no expert as well.