source: doc/theses/mike_brooks_MMath/benchmarks/list/op-stack-insfirst-allhead.h @ bb7422a

ADTast-experimental
Last change on this file since bb7422a was 0b66ef9, checked in by Michael Brooks <mlbrooks@…>, 20 months ago

Add linked list performance experiment

  • Property mode set to 100644
File size: 373 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// allhead:  inserts and removes happen via the api-provided "first"/"head"/"front"
4
5#define BOP_INSERT(lst, ui, iters, i) BFX_INSERT_FIRST(B_UserItem, lst, ui[i])
6#define BOP_REMOVE(lst, ui, iters, i) BFX_REMOVE_FIRST(B_UserItem, lst)
Note: See TracBrowser for help on using the repository browser.