This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # LVDB - LLOOGG Memory DB | |
| # Copyriht (C) 2009 Salvatore Sanfilippo <antirez@gmail.com> | |
| # All Rights Reserved | |
| # TODO | |
| # - cron with cleanup of timedout clients, automatic dump | |
| # - the dump should use array startsearch to write it line by line | |
| # and may just use gets to read element by element and load the whole state. | |
| # - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
| # - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT COUNT(*) FROM file("hits_*.parquet", Parquet); | |
| 0.4429148039999973 | |
| 0.05523164400000269 | |
| 0.05387431600001946 | |
| SELECT COUNT(*) FROM file("hits_*.parquet", Parquet) WHERE AdvEngineID <> 0; | |
| 0.4565690250000216 | |
| 0.06102334700000256 | |
| 0.0607522119999544 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [0.4361737529999914,0.05658163800001148,0.056433019999985845], | |
| [0.45631013700000267,0.06661815199998955,0.06499360399999432], | |
| [1.2878869360000067,0.12046150599996963,0.12141279399997984], | |
| [1.0351253719999818,0.19584039699998357,0.19377196099998173], | |
| [2.000329340999997,1.3100056389999963,1.3103087160000086], | |
| [1.8184413650000124,0.9605992319999928,0.9637660029999893], | |
| [0.4596347169999717,0.0655916599999955,0.06513699300001008], | |
| [0.45521096900000657,0.07589728199997126,0.07560694400001466], | |
| [1.4177663510000116,0.7329907230000003,0.7416720749999968], | |
| [3.5959058509999977,0.901890944999991,0.891994880000027], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [0.46243442399998,0.0570587820000128,0.058484708000037244], | |
| [1.26402343999996,0.06559805100005178,0.06514731400000073], | |
| [2.1809058669999786,0.12106776400003127,0.12203776199999083], | |
| [1.7170638459999736,0.19500999100000627,0.19558903299991925], | |
| [2.593539805999967,1.3107030959999975,1.317727065999975], | |
| [1.9912228649999406,1.0014282969999613,0.9544052250000732], | |
| [0.540621342999998,0.06466607300001215,0.06479836799996974], | |
| [1.310885718999998,0.07779871100001401,0.07467802300004678], | |
| [2.282051817000024,0.7375226009999096,0.7318564839999908], | |
| [3.7514033319999953,0.9106436920000078,0.9040596689999347], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [0.46243442399998,0.0570587820000128,0.058484708000037244], | |
| [1.26402343999996,0.06559805100005178,0.06514731400000073], | |
| [2.1809058669999786,0.12106776400003127,0.12203776199999083], | |
| [1.7170638459999736,0.19500999100000627,0.19558903299991925], | |
| [2.593539805999967,1.3107030959999975,1.317727065999975], | |
| [1.9912228649999406,1.0014282969999613,0.9544052250000732], | |
| [0.540621342999998,0.06466607300001215,0.06479836799996974], | |
| [1.310885718999998,0.07779871100001401,0.07467802300004678], | |
| [2.282051817000024,0.7375226009999096,0.7318564839999908], | |
| [3.7514033319999953,0.9106436920000078,0.9040596689999347], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [0.32427888000006533,0.029231573999823013,0.028110583999932715], | |
| [0.30950891499992395,0.03345389199989768,0.030853320000005624], | |
| [0.3518404950000331,0.05492026800015992,0.04598448900014773], | |
| [0.32292263699991963,0.07075855800007957,0.06898837099993216], | |
| [1.855295859999842,1.4727853990000312,1.4962340080001013], | |
| [1.1251131540000188,0.7425256400001672,0.7805886809999265], | |
| [0.2978510330001427,0.030998532000012347,0.0318822070000806], | |
| [0.3381730379999226,0.0424385409999104,0.03705111199997191], | |
| [0.8174217099999623,0.39787700500005485,0.3629026270000395], | |
| [0.9883100829999876,0.4334093129998564,0.4259978099998989], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [1.916575473999984,0.03150628399998823,0.027578895000004877], | |
| [2.730124790000019,0.0355460239999843,0.03212929800000097], | |
| [4.548399335999989,0.0554459229999793,0.04591217699999106], | |
| [3.8823170790000177,0.07142975200002866,0.06455510299997513], | |
| [5.245918164000045,1.5219750630000135,1.5234857080000097], | |
| [5.312483166999982,0.7469967010000005,0.7559375019999948], | |
| [2.6928228680000075,0.03283918700003596,0.028870116999996753], | |
| [2.7443653910000307,0.04419770999999173,0.04313480999996955], | |
| [4.549234023999986,0.4151060160000384,0.3666577019999977], | |
| [8.868127841999979,0.48181567099999256,0.46717476399999214], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define MAX 35 | |
| int | |
| generate() { | |
| int p[2]; | |
| pipe(p); | |
| for (int i = 2; i < MAX; i++) { | |
| write(p[1], &i, sizeof(i)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <string> | |
| template <typename T> void printff(const char *s, const T &value) { | |
| while (*s) { | |
| if (*s == '%' && *++s != '%') { | |
| std::cout << value; | |
| } | |
| std::cout << *s++; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "syscall" | |
| "unsafe" | |
| ) | |
| type printFunc func() |