A software engineer discovers that a widely-used sorting library they maintain has an O(n²) worst-case instead of the documented O(n log n). What is the most professionally responsible action?
-
A
Close the issue as won't-fix since average-case is still fast
-
B
Document the discrepancy, open a public issue, and work on a fix
-
C
Quietly patch the code without informing users to avoid panic
-
D
Remove the library from the registry until fully fixed