From 8021a96f7e171b4cf2326b4d1e27aed57f11251e Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Sat, 28 Nov 2015 18:20:17 +0500 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30d1512..114855d 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # Антизапрет PAC-скрипт -![Host Lookup Chart: Time-Memory, Hit-Miss](./chart/host-lookup-chart.png) +![Host Lookup Chart: Time-Memory, Hits-Misses](./chart/host-lookup-chart.png) + +* __IPs indexOf__ – Blocked IP is search by `indexOf` +* __IPs binary__ – Blocked IP is search by binary search. For some reason miss time slightly increased. +* __IPs switch__ – Simply `switch(Blocked_IP) { case1: ... caseN: return true }`. Works even better than binary search. Magic. +* __Hosts switch__ – Radix trie built on `switch`. Comparable to __IPs switch__.