mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Update README.md
This commit is contained in:
parent
ab1119fa0a
commit
8021a96f7e
|
@ -1,3 +1,8 @@
|
||||||
# Антизапрет PAC-скрипт
|
# Антизапрет 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__.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user