ADT
ast-experimental
Last change
on this file since 55fabac was 0b66ef9, checked in by Michael Brooks <mlbrooks@…>, 2 years ago |
Add linked list performance experiment
|
-
Property mode
set to
100644
|
File size:
500 bytes
|
Line | |
---|
1 | // queue: inserts and removes happen at opposite ends
|
---|
2 | // inslast: elements flow from "last", "tail" or "back", to "first," "head" or "front"
|
---|
3 | // remelem: removes happen via an element-level operation and inserts happen via the api-provided "last"/"tail"/"back"
|
---|
4 |
|
---|
5 | #define BOP_TEARDOWN(lst, ui, iters, i) BFX_REMOVE_FIRST(B_UserItem, lst)
|
---|
6 |
|
---|
7 | #define BOP_INSERT(lst, ui, iters, i) BFX_INSERT_LAST(B_UserItem, lst, ui[i])
|
---|
8 | #define BOP_REMOVE(lst, ui, iters, i) BFX_REMOVE_HERE(B_UserItem, lst, iters[i])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.