Hacker News new | ask | show | jobs
by anon23432343 929 days ago
1) Add the year! This is ~~2010! Is this even still valid today? Is it really faster in 2023?

2) this "trick" has problems if you don't understand the caveats it has.

3) This kind of micro optimisation isn't usually were your code is slow. Any css shift will be more expensive then this.

4) IF you want to use this "trick" then make sure everybody who will need to read your code really understands what you are doing here. Dont be that smart pants coder were no body else then you can read your code! This does not make you a good programer!

1 comments

Than