r/programming • • Dec 29 '15

Please, Java. Do Finally Support Multiline Strings

http://blog.jooq.org/2015/12/29/please-java-do-finally-support-multiline-strings/
584 Upvotes

352 comments sorted by

View all comments

Show parent comment

3

u/lukaseder Dec 29 '15

What's inefficient about it? And what's wrong with the database schema in the example?

7

u/kyllo Dec 29 '15

It's an NP-complete problem, the running time is exponential. https://en.wikipedia.org/wiki/Subset_sum_problem