Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You say "it would be slow in any browser" but that's not true. It's fast in Edge and Chrome and slow in FireFox.

> "then do a batch change operation"

What would the 'batch change' be if not a loop over all the changes, making the changes one by one?



One possibility would be to create all the matching rows of the table in text (<tr><td>...</td></tr>), and then replace the contents of the table in one assignment. That's pretty fast, although I'm not sure about OP's case.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: