Leo Ma
9bdf030fe0
Add database file memory map as c_mmap binding
...
File I/O optimization.
- No more `fread` call when the file is mapped.
- Close database file as soon as possible after `mmap`
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
2017-01-12 17:33:58 +08:00
lionsoul
7a2b9943b5
stdlize the license add free statement
2016-12-28 09:53:13 +08:00
lionsoul
c0955fedff
update the merge&binary db file to version/2016/12/14
2016-12-21 16:53:14 +08:00
lionsoul
21bb060839
fix 10+ rows failed ip range records
2016-11-07 14:07:03 +08:00
lionsoul
b0f7bff2de
text and binary data version 2016/11/02
2016-11-05 21:13:36 +08:00
lionsoul
643e6a2463
update the db make doc and jar file
2016-11-03 17:32:16 +08:00
lionsoul
ec395be524
add db make doc & update the CHANGES
2016-11-03 16:40:28 +08:00
lionsoul
7dcec80080
track the db make jar tools
2016-11-03 15:53:20 +08:00
lionsoul
bedaca5b70
Merge pull request #4 from mohong122/master
...
golang实现
2016-10-20 17:08:17 +08:00
mohong
0755357474
添加readme.md说明文件
2016-10-20 15:19:07 +08:00
mohong
97e0bb8374
golang实现
2016-10-20 14:45:38 +08:00
lionsoul
16ae2ab022
Merge branch 'master' of http://git.oschina.net/lionsoul/ip2region
2016-08-01 15:07:57 +08:00
lionsoul
f9ceedff27
update ip data to latest 2016/07/21 version
2016-08-01 15:07:46 +08:00
dongyado
09797dfb5b
nodejs client ready
2016-07-31 20:46:44 +08:00
dongyado
ae1a7742c2
Merge branch 'nodejsclient' of https://git.oschina.net/lionsoul/ip2region into nodejsclient
2016-07-31 20:45:51 +08:00
dongyado
cd75235625
Merge branch 'master' of github.com:lionsoul2014/ip2region into nodejsclient
2016-07-31 20:39:17 +08:00
dongyado
3246dc2df2
update search method name for nodejs client
2016-07-16 15:42:45 +08:00
lionsoul
705b77f022
update to the latest data
2016-07-14 10:27:21 +08:00
koma
caad8bad88
add memory search alrogrithm and optimize script
2016-07-13 15:54:08 +08:00
dongyado
3fd756300e
nodejs btree search ready for test
2016-07-07 10:48:22 +08:00
dongyado
a2e3bdb13e
update btree search
2016-07-07 09:21:38 +08:00
dongyado
63cd3fa085
nodejs client finish binary search
2016-07-07 00:08:45 +08:00
dongyado
401e5bc795
nodejs client forward
2016-07-06 11:27:58 +08:00
dongyado
0dd1a53d00
getLong finished for nodejs client
2016-07-06 09:28:53 +08:00
dongyado
0fb5af9067
update nodejs client
2016-07-06 00:29:19 +08:00
dongyado
b187d1646a
Merge branch 'master' into nodejsclient
2016-07-03 21:35:13 +08:00
dongyado
503e95026f
Merge branch 'master' of https://git.oschina.net/lionsoul/ip2region
2016-07-03 00:39:52 +08:00
Monster Slayer
29d89f0576
Merge pull request #3 from lionsoul2016/fixip2long
...
fix ip2long/getLong function return unsigned int ip value on 32-bit os
2016-07-03 00:38:29 +08:00
dongyado
81c495058c
fix ip2long/getLong function return unsigned int ip value on 32-bit operating system
2016-07-03 00:35:48 +08:00
dongyado
4a8aa275e0
Merge branch 'master' of github.com:lionsoul2016/ip2region into nodejsclient
2016-07-03 00:07:52 +08:00
狮子的魂
d7e07eb306
Merge pull request #2 from twistfate33/patch-1
...
Update ip2Region.py
2016-07-01 22:12:13 +08:00
Twist Fate
e6737466ee
Update ip2Region.py
2016-07-01 17:46:01 +08:00
lionsoul
0dc779766b
1.2 release version
2016-07-01 08:25:49 +08:00
lionsoul
8d741b9955
update the README
2016-07-01 08:17:56 +08:00
lionsoul
fb6ad4eec5
add the latest ip source and db file
2016-07-01 08:12:23 +08:00
lionsoul
a5df8ff87c
add DbSearcher#memorySearch interface
2016-06-30 20:19:17 +08:00
lionsoul
861b8b4622
add #ip2region_memory_search interface for memory search
2016-06-30 19:32:31 +08:00
lionsoul
dbf94ef586
remove the debug info
2016-06-30 16:05:16 +08:00
lionsoul
e436094563
add #memorySearch interface for purge memory search
2016-06-30 16:04:02 +08:00
lionsoul
32ad842926
add data_ptr return for datablock
2016-06-30 16:02:11 +08:00
dongyado
2e31e924b5
update ip2region.js
2016-06-28 09:31:23 +08:00
dongyado
0e498e27f8
nodejs client init
2016-06-22 20:00:23 +08:00
Monster Slayer
72ca42f54f
Merge pull request #2 from lionsoul2016/update_version
...
Update version
2016-06-17 16:31:45 +08:00
dongyado
596b0e356f
Merge branch 'master' of github.com:lionsoul2016/ip2region
2016-06-17 16:24:43 +08:00
dongyado
2113931c61
remove note information and change php version
2016-06-17 16:24:03 +08:00
Monster Slayer
648c62961a
Merge pull request #1 from lionsoul2016/profile
...
update project profile
2016-06-16 23:08:21 +08:00
dongyado
3fcfadd8a1
update project profile
2016-06-16 23:06:16 +08:00
dongyado
7e4801df22
ip2region extension for php7
2016-06-16 16:29:24 +08:00
dongyado
e7e6f376ee
ip2region extension for php5.x
2016-06-16 16:23:30 +08:00
dongyado
8aacb89e49
remove submodule ip2region4php
2016-06-16 15:28:41 +08:00