1. 02 Nov, 2016 4 commits
    • Vladimír Čunát's avatar
      lru_get_new *can* return NULL · eeec66a1
      Vladimír Čunát authored
      ... and that doesn't necessarily mean that malloc() failed.
      We do *not* want to evict a heavy-hitter by an unfrequent element.
      
      Note: even the implementation currently in master *did* return NULL,
      so some parts of the code were just wrongly returning ENOMEM.
      eeec66a1
    • Vladimír Čunát's avatar
      lru: new implementation and also interface · 9d5beac5
      Vladimír Čunát authored
      The implementation is now similar to set-associative caches
      that x86 CPU use.  Also the API is changed a bit, leading to
      slight simplification of our use patterns.
      9d5beac5
    • Marek Vavrusa's avatar
      bench: make bench, dataset for lru, cleanup · 6d8c2b0c
      Marek Vavrusa authored
      `make bench` now runs a predefined set of
      microbenchmarks (right now LRU), it's a start
      for comparative microbench of internal structures
      6d8c2b0c
    • Vladimír Čunát's avatar
      add simple LRU benchmarks · f2bdb7af
      Vladimír Čunát authored
      The Makefile isn't perfect. I noted it doesn't clean the bench,
      but we have the same problem for some other parts, e.g. in deckard.
      f2bdb7af
  2. 31 Oct, 2016 1 commit
  3. 26 Oct, 2016 2 commits
  4. 24 Oct, 2016 1 commit
  5. 23 Oct, 2016 1 commit
  6. 21 Oct, 2016 7 commits
  7. 20 Oct, 2016 14 commits
  8. 19 Oct, 2016 3 commits
  9. 18 Oct, 2016 2 commits
  10. 11 Oct, 2016 1 commit
  11. 07 Oct, 2016 1 commit
  12. 03 Oct, 2016 1 commit
    • Ondřej Surý's avatar
      Merge branch 'p/net.listen' into 'master' · 62dc15ef
      Ondřej Surý authored
      net.listen: make it more flexible
      
      As noted in #94, it feels natural to call it like:
      ``net.listen({net.lo, '192.168.1.1'})``
      Also minor fixes were done in that function and corresponding docs.
      
      See merge request !46
      62dc15ef
  13. 30 Sep, 2016 1 commit
  14. 27 Sep, 2016 1 commit