Last change
on this file since c141c09 was
2b01f8e,
checked in by Mike Brooks <mlbrooks@…>, 19 months ago
|
Adjust LL perf to use a random layout of nodes in memory
|
-
Property mode set to
100644
|
File size:
529 bytes
|
Line | |
---|
1 | // stack: inserts and removes happen at the same end |
---|
2 | // insfirst: stack's action happens at the end called "first", "head" or "front" |
---|
3 | // inselem: inserts happen via an element-level operation and removes happen via the api-provided "first"/"head"/"front" |
---|
4 | |
---|
5 | #define BOP_INIT(lst, iters, insNo, item) BFX_INSERT_FIRST(B_UserItem, lst, (item)) |
---|
6 | |
---|
7 | #define BOP_INSERT(lst, iters, insNo, item) BFX_INSERT_BEFORE(B_UserItem, lst, (item), iters[insNo-1]) |
---|
8 | #define BOP_REMOVE(lst, iters, remNo) BFX_REMOVE_FIRST(B_UserItem, lst) |
---|
Note: See
TracBrowser
for help on using the repository browser.