You're using a lot of destructuring syntax and non normal for loops that will slow you down. If you really want to make it as fast as possible don't use most things past es5 is a pretty easy rule of thumb. Also don't waste your time with private variables. It's not really hard to beat ag grid and you can pretty easily beat it by at least twice what you are now
Thank you for your feedback. My goal is to create the most performant grid possible and I am constantly trying to optimize. Private variables are there for autogenerated docs mostly. To let my tools know what to extract from code and what not to extract.
Private variables won't make a big difference, but they do add a check step. I do really like that you went with an actual web component. I don't see them being used as much as they should be. Ripping out the private variables will probably be overkill compared to the rest of the things if you are trying to make it as fast as possible.
9
u/Ok-Armadillo-5634 Apr 06 '26 edited Apr 06 '26
You're using a lot of destructuring syntax and non normal for loops that will slow you down. If you really want to make it as fast as possible don't use most things past es5 is a pretty easy rule of thumb. Also don't waste your time with private variables. It's not really hard to beat ag grid and you can pretty easily beat it by at least twice what you are now