• Poul-Henning Kamp's avatar
    Add "+table" flag to ACL's · cc885760
    Poul-Henning Kamp authored
    The +table flag causes all overlapped ACL entries to be compiled
    as usual, and non-overlapped entries to be emitted as a table of
    bytes.
    
    When testing the ACL the compiled code is run before VPI_acl_table()
    is used to do a binary search on the table.
    
    Even with a binary search, the table is approx 3 times slower than
    the regular compiled ACLs (ie: only "blindingly fast" as oppposed
    to "lighting fast").
    
    The advantage of +table is that C-compilers literally take no time,
    no matter the size of the ACL, where they will take seconds
    or even minutes compiling large ACLs as code.
    cc885760
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
fuzzers Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...