|
|
|
|
|
by wsmith
3492 days ago
|
|
I once reduced the running time of a report from 45 minutes to 3 seconds (900x improvement) by moving the code inside the database. If a programming language wants to stay fast it must eventually become a database. I realize this is an unpopular opinion but popularity is the wrong metric to judge by. |
|
Admittedly the code I was moving away from was hilariously bad. Threaded custom build of PHP bad. Then again I haven't tried to optimise the code I wrote at all
You are absolutely right about fast code becoming a database, this is simply down to the query planner - it can try and do the least possible work for the data you actually have.