by Existenceblinks · 8y ago · 0 comments
Atomic CSS
What's time complexity for each operation(by human)?
Read: O(sigh)
Insert: O(1)
Delete: O(n)
Update: O(n)
Pre-BEM era CSS
What's time complexity for each operation(by human)?
Read: kinda O(1)
Insert: O(1)
Delete: O(1) without garbage collect (unused css)
Update: kinda O(n^n)
That's a quick thought, maybe your operations are more arbitrary.
Probably when someone introduces new css framework/technique, showing some kind of complexity measurement (if possible) would be good idea?
No comments yet.