|
Last change
on this file since dc414d7 was 7806f91, checked in by Mike Brooks <mlbrooks@…>, 3 months ago |
|
Add code for reproducing performance numbers in thesis draft of 16a843
|
-
Property mode
set to
100644
|
|
File size:
572 bytes
|
| Line | |
|---|
| 1 | // queue: inserts and removes happen at opposite ends
|
|---|
| 2 | // insfirst: elements flow from "first," "head" or "front", to "last", "tail" or "back"
|
|---|
| 3 | // remelem: removes happen via an element-level operation and inserts happen via the api-provided "first"/"head"/"front"
|
|---|
| 4 |
|
|---|
| 5 | #define BOP_TEARDOWN(lst, iters, remNo) BFX_REMOVE_LAST(B_UserItem, lst)
|
|---|
| 6 |
|
|---|
| 7 | #define BOP_INSERT(lst, iters, insNo, item) BFX_INSERT_FIRST(B_UserItem, lst, (item))
|
|---|
| 8 | #define BOP_REMOVE(lst, iters, remNo) BFX_REMOVE_HERE(B_UserItem, lst, iters[(remNo)])
|
|---|
| 9 |
|
|---|
| 10 | #define BOP_REMPROGEND_IS_REMNO_BASED true
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.