Commit Graph

203 Commits

Author SHA1 Message Date
Kolan Sh c833f2b6c6 Duplicate and Append functions are ready 2011-06-14 17:41:32 +04:00
Kolan Sh 5137f8721b zalloc_ext_test added 2011-06-14 13:35:44 +04:00
Kolan Sh 4fa4b57d45 xalloc and zalloc rewriten in stdlib like format; test results added 2011-06-14 13:02:33 +04:00
Kolan Sh 0cb29588f2 Renamed: xmalloc.[c,h]->xalloc.[c,h], zmalloc.[c,h]->zalloc.[c,h] 2011-06-13 17:20:35 +04:00
Kolan Sh 260106da46 Renamed: xmalloc.[c,h]->xalloc.[c,h], zmalloc.[c,h]->zalloc.[c,h] 2011-06-13 12:21:27 +04:00
Kolan Sh 45cf1a566e Renamed: xmalloc.[c,h]->xalloc.[c,h], zmalloc.[c,h]->zalloc.[c,h]
--HG--
rename : c/zmalloc/Makefile => c/zalloc/Makefile
rename : c/zmalloc/zmalloc.geany => c/zalloc/zalloc.geany
rename : c/zmalloc/zmalloc_test.c => c/zalloc/zalloc_test.c
2011-06-13 12:18:12 +04:00
Kolan Sh e98cfe955f merged 2011-06-12 21:34:14 +04:00
Kolan Sh 0837358623 the world's end added =) 2011-06-12 21:34:03 +04:00
Kolan Sh 2df12441a1 Перевёрнутые камеры =) 2011-06-12 14:02:38 +04:00
Kolan Sh 5ba787d4ce домой, пора домой... 2011-06-10 19:03:50 +04:00
Kolan Sh 0f3ecd8e70 no c++ just c
--HG--
rename : c/tex_parser/tex_table_class.cpp => c/tex_parser/tex_table.c
rename : c/tex_parser/tex_table_class.geany => c/tex_parser/tex_table.geany
rename : c/tex_parser/tex_table_class.hpp => c/tex_parser/tex_table.h
rename : c/tex_parser/tex_table_class_tags.hpp => c/tex_parser/tex_table_tags.h
rename : c/tex_parser/tex_table_class_test.cpp => c/tex_parser/tex_table_test.c
2011-06-10 14:31:10 +04:00
Kolan Sh cc27cee3be tex_parser moved from cpp to c because... c++ std::string.resize is slower than zrealloc in 300 times =)
--HG--
rename : cpp/tex_parser/Makefile => c/tex_parser/Makefile
rename : cpp/tex_parser/get_tags.sh => c/tex_parser/get_tags.sh
rename : cpp/tex_parser/tables4.tex => c/tex_parser/tables4.tex
rename : cpp/tex_parser/tables5.tex => c/tex_parser/tables5.tex
rename : cpp/tex_parser/tex_table_class.cpp => c/tex_parser/tex_table_class.cpp
rename : cpp/tex_parser/tex_table_class.geany => c/tex_parser/tex_table_class.geany
rename : cpp/tex_parser/tex_table_class.hpp => c/tex_parser/tex_table_class.hpp
rename : cpp/tex_parser/tex_table_class_tags.hpp => c/tex_parser/tex_table_class_tags.hpp
rename : cpp/tex_parser/tex_table_class_test.cpp => c/tex_parser/tex_table_class_test.cpp
2011-06-10 12:24:03 +04:00
Kolan Sh eaeee86922 zmalloc_getinfo() test 2011-06-10 11:59:15 +04:00
Kolan Sh baae78bd22 zmalloc (вдове быстрый realloc) test 2011-06-09 19:00:04 +04:00
Kolan Sh 7359589f6d вычисление среднего для знаковых целых и массивов (ну и парсер TeX немного)
--HG--
rename : c/tex_parser/get_tags.sh => cpp/tex_parser/get_tags.sh
rename : c/tex_parser/tables4.tex => cpp/tex_parser/tables4.tex
rename : c/tex_parser/tables5.tex => cpp/tex_parser/tables5.tex
rename : c/tex_parser/tex_table_class.hpp => cpp/tex_parser/tex_table_class.hpp
rename : c/tex_parser/tex_table_class_tags.hpp => cpp/tex_parser/tex_table_class_tags.hpp
2011-06-07 19:08:15 +04:00
Kolan Sh 08b17e2229 создан проект по классам TeX - таблиц 2011-06-07 12:17:19 +04:00
Kolan Sh 6c286e1e8c gmp тест и таблицы в LaTeX 2011-05-24 19:14:17 +04:00
Kolan Sh a19bcbbaa0 gmp-chundovsky test 2011-05-24 16:01:36 +04:00
Kolan Sh 5162d972fb libhash_ex 2011-05-19 18:55:40 +04:00
Kolan Sh e74c9a80ae syscall() example 2011-05-04 19:10:53 +04:00
Kolan Sh a8bb01e4b5 UDP echo example 2011-05-04 15:30:24 +04:00
Kolan Sh 190ee94da5 run.sh 2011-05-02 22:50:30 +04:00
Kolan Sh 600efc28d5 комменты... комменты... комменты... 2011-05-02 21:51:34 +04:00
Kolan Sh e0b307f190 debug flag 2011-05-02 19:49:34 +04:00
Kolan Sh 57e8f559ee memset in client 2011-05-02 19:49:06 +04:00
Kolan Sh 46901ff78c комменты 2011-05-02 19:21:54 +04:00
Kolan Sh c6b11b3c61 несовместимая неявная декларация memset 2011-05-02 17:47:50 +04:00
Kolan Sh 6f6bdc2fa8 сборка по make all 2011-05-02 17:29:20 +04:00
Kolan Sh 27ccb8cd93 файлы туды-сюды (удалено лишнее в опчем) 2011-05-02 16:59:54 +04:00
Kolan Sh 1d845ec6a6 indent 2011-05-02 12:42:42 +04:00
Kolan Sh 5eb27bc4fd ServerNBTHR готов =) и собирается успешно гы-гы-гы)) 2011-05-02 12:40:13 +04:00
Kolan Sh d0047d5a11 ServerNBTHR готов =) и собирается успешно гы-гы-гы)) 2011-05-02 12:23:17 +04:00
Kolan Sh 3a281d5581 ServerNBTHR 2011-05-02 12:11:12 +04:00
Kolan Sh a5d64c0019 masync_server начат
--HG--
rename : c/sockets/echo-client.c => c/echo_server/echo-client.c
rename : c/sockets/echo-server.c => c/echo_server/echo-server.c
rename : c/sockets/int2ip.c => c/echo_server/int2ip.c
rename : c/sockets/ip2int.c => c/echo_server/ip2int.c
rename : c/sockets/sock1.c => c/echo_server/sock1.c
rename : c/sockets/tmp1.c => c/echo_server/tmp1.c
rename : c/sockets/echo-client.c => c/masync_server/echo-client.c
rename : c/sockets/echo-server.c => c/masync_server/echo-server.c
rename : c/sockets/int2ip.c => c/masync_server/int2ip.c
rename : c/sockets/ip2int.c => c/masync_server/ip2int.c
rename : c/sockets/sock1.c => c/masync_server/sock1.c
rename : c/sockets/tmp1.c => c/masync_server/tmp1.c
2011-05-02 10:53:52 +04:00
Kolan Sh 1580046c4b sockets example moved from cpp to c directory
--HG--
rename : cpp/sockets/echo-client.c => c/sockets/echo-client.c
rename : cpp/sockets/echo-server.c => c/sockets/echo-server.c
rename : cpp/sockets/int2ip.c => c/sockets/int2ip.c
rename : cpp/sockets/ip2int.c => c/sockets/ip2int.c
rename : cpp/sockets/sock1.c => c/sockets/sock1.c
rename : cpp/sockets/tmp1.c => c/sockets/tmp1.c
2011-05-01 23:59:40 +04:00
Kolan Sh 0f87373a87 добавлен пример pthread_rwlock 2011-05-01 22:58:37 +04:00
Kolan Sh 10632ce639 free 2011-05-01 00:14:46 +04:00
Kolan Sh cb4a83aba3 пул переделан под любую структуру объекта 2011-04-30 23:18:13 +04:00
Kolan Sh 0af0bf311d добавлен файл с функциями 2011-04-30 17:23:19 +04:00
Kolan Sh f86b064fff комменты к функциям 2011-04-30 16:15:40 +04:00
Kolan Sh 065f348402 inline похоже ненужен =) 2011-04-30 01:02:52 +04:00
Kolan Sh d6f1dbb321 добавлена структура block_pool, цель - создание множества пулов 2011-04-30 00:55:40 +04:00
Kolan Sh 1a34fea5ff динамическое выделение mem 2011-04-30 00:35:53 +04:00
Kolan Sh 3f1e00dd1e оптимизации pool_free() 2011-04-29 22:19:07 +04:00
Kolan Sh b006aa66a8 оптимизации pool_free() 2011-04-29 22:18:10 +04:00
Kolan Sh d8e8aa5962 void *[] в автоматически выделяемой памяти - это фейл... 2011-04-29 21:48:56 +04:00
Kolan Sh 24aca132c3 pool_alloc() готова и оптимизирована, pool_free() лагает пока что и не оптимизирована 2011-04-29 18:45:44 +04:00
Kolan Sh 58d938d391 получили ускорение в 42 раза по сравнению с malloc и в 56 раз по сравнению с vector_add 2011-04-29 16:00:49 +04:00
Kolan Sh b8d84794f0 Добавлен pool со списками занятых/незанятых, в 6 раз быстрее std::vector.push_back() и в 3 раза быстрее malloc 2011-04-29 15:41:02 +04:00
Kolan Sh 03d20062b4 пул памяти свой делаю, пока что удалось обогнать в 5-6 раз c++:vector.push_back и в ~10 раз malloc, нужно ещё добавить 2 списка занятых и незанятых 2011-04-29 11:43:18 +04:00
Kolan Sh 6e87b9ffc9 alloc tests 2011-04-28 14:42:44 +04:00
Kolan Sh 8a8bb95fd9 многонитковость, списки, очереди, файлы 2011-04-28 13:18:02 +04:00
Kolan Sh 290a99e0ee добавлены исходники на c, cpp, java, nasm, perl, php, ruby, prolog, nasm 2011-04-09 19:55:52 +04:00