diff options
| author | Shea Levy <shea@shealevy.com> | 2013-07-12 12:36:36 -0400 |
|---|---|---|
| committer | Shea Levy <shea@shealevy.com> | 2013-07-12 12:36:36 -0400 |
| commit | a4c333474c66eeadf14373f135c66079b2631c21 (patch) | |
| tree | ba8d86b18c7f3b1abd8204ba2de593ddbb6166f7 /pkgs/development/python-modules/httpserver | |
| parent | 18e9efe0f7a491041a49d5904d391009691a7434 (diff) | |
lib/lists.nix: Remove uses of the tail function
nix lists are not like haskell lists, and tail is an O(n) operation.
This makes recursion using tail less efficient than recursion using
length + elemAt.
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
