Re:How not to structure database-backed web apps: performanc...
by soberhoff on Friday July 13, 2018 @09:15AM
(#17522642)
Are you familiar with Java? If you use just `"foo"`, then the string will be interned and reused. If you use `new String("foo")`, each call creates a new copy on the heap. This call was inside a very hot loop, thus eating almost all the application's runtime.
[ Parent
| on HN ]