Skip to content

Commit 54a24b4

Browse files
committed
📌 Nodepp | V1.4.3 📌
1 parent 8aa3964 commit 54a24b4

75 files changed

Lines changed: 1211 additions & 1217 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#time x86_64-w64-mingw32-g++ main.cpp -D_WIN32_WINNT=0x0601 -o main.exe -I./include -lkernel32 -static-libgcc -static-libstdc++ -static -lws2_32 -g ; wine main.exe
2-
time g++ -o main main.cpp -I./include -lssl -lcrypto -lz -std=c++20 -march=native -mtune=native -O3; ./main
1+
echo "[windows]"; time x86_64-w64-mingw32-g++ main.cpp -D_WIN32_WINNT=0x0601 -o main.exe -I./include -lkernel32 -static-libgcc -static-libstdc++ -static -lws2_32 -g ; wine main.exe
2+
#echo "[linux]" ; time g++ -o main main.cpp -I./include -lssl -lcrypto -lz -std=c++20 -march=native -mtune=native -O3 -Werror; ./main
33

44
#wine debuggin mode
55
#server: winedbg --gdb --port 12345 --no-start ./main.exe
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using namespace nodepp;
66

77
void onMain(){
88

9-
map_t<string_t,string_t> map;
9+
map_t<string_t,string_t> map; // <- indirect binary tier address (Not Slow but Overhead)
1010

1111
map["a"] = "hello world";
1212
map["b"] = "hello world";

examples/2-map-2.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include <nodepp.h>
2+
#include <nodepp/map.h>
3+
4+
using namespace nodepp;
5+
6+
void onMain(){
7+
8+
map_t<uchar_8,string_t> map; // <- direct binary tier address (FASTEST)
9+
10+
console::log( ">>", type::is_integral<uchar_8 >::value );
11+
console::log( ">>", type::is_integral<uchar_16>::value );
12+
console::log( ">>", type::is_integral<uchar_32>::value );
13+
console::log( ">>", type::is_integral<uchar_64>::value );
14+
15+
map[0b00000000] = "hello world 1";
16+
map[0b00000001] = "hello world 2";
17+
map[0b00000010] = "hello world 3";
18+
19+
console::log( "--> a", map[0b00000000] );
20+
console::log( "--> b", map[0b00000001] );
21+
console::log( "--> c", map[0b00000010] );
22+
23+
}

examples/5-1-Json.cpp

Lines changed: 0 additions & 57 deletions
This file was deleted.

examples/5-1-JsonParse.cpp

Lines changed: 0 additions & 22 deletions
This file was deleted.

examples/5-1-Json_Stringify.cpp

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)