December 28, 2010 slist insertion | ||||
---|---|---|---|---|
| ||||
why does SList.insertFront have a complexity of O(log(n)) ? |
December 28, 2010 Re: slist insertion | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | Ellery Newcomer <ellery-newcomer@utulsa.edu> wrote: > why does SList.insertFront have a complexity of O(log(n)) ? Good question! It certainly is not the code's fault, as that's O(1) for single elements and O(m) for ranges. File it to Bugzilly, I guess. -- Simen |
Copyright © 1999-2021 by the D Language Foundation