Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0000151 |
[libFirm] API |
tweak |
always |
2014-12-31 08:32 |
2016-06-27 09:28 |
|
Reporter |
Matze |
View Status |
public |
|
Assigned To |
Matze |
Priority |
low |
Resolution |
fixed |
Platform |
|
Status |
resolved |
|
OS |
|
Projection |
none |
|
OS Version |
|
ETA |
none |
Fixed in Version |
|
Product Version |
development |
|
Product Build |
|
|
Summary |
0000151: Remove adt/plist.h |
Description |
adt/plist.h is a double linked list of pointers. This is pretty pointless (pun intended).
All current users of that datastructure want it for efficient insertion/removal at the beginning and end of a list but don't remove elements from the middle. The double ended queues in pdeq.h are more efficient for this use case and the code should changed for that.
For all other double linked list uses you can still use adt/list.h which is more flexible and type safe if used properly. |
Steps To Reproduce |
|
Additional Information |
|
Tags |
No tags attached. |
|
Attached Files |
|
|