Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zamadatix
5y ago
0 comments
Save
Share
A bug is still a bug even if it's low severity and marked wontfix due to implementation complexity.
0 comments
4 comments · 1 top-level
top
newest
oldest
proto-n
5y ago
· 3 in thread
I wouldn't call an accuracy-performance tradeoff a bug, rather a design decision
alisonkisk
5y ago
No one is running sloc a million times per second. The performance cost here is trivial.
proto-n
5y ago
The accuracy cost is trivial as well, it's a trade-off. I'm pretty sure the implementers were fully aware that regex can't properly handle every case and decided not to care.
ashutoshgngwr
5y ago
No, but you usually run it on a complete codebase which can be humongous.
1 more reply
j
/
k
navigate · click thread line to collapse