|
| 26 Jun 2014 12:35 PM |
| Is it better to use table.sort() or an algorithm? |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2014 12:41 PM |
Both.
They both work perfectly fine. Some work better than others. I prefer table.sort()
|
|
|
| Report Abuse |
|
|
| |
|
Devoi
|
  |
| Joined: 09 Jun 2013 |
| Total Posts: 5387 |
|
|
| 26 Jun 2014 12:43 PM |
| table.sort takes less time to type and probably has slightly better impact on performance |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2014 01:45 PM |
| table.sort() wouldn't exist without a reason. Always use built-in code over custom algorithms if you can. |
|
|
| Report Abuse |
|
|
RaidenJPN
|
  |
| Joined: 22 May 2013 |
| Total Posts: 6920 |
|
|
| 26 Jun 2014 04:00 PM |
@Echo bae,
But custom algorithms are funnnnn. :c |
|
|
| Report Abuse |
|
|