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
| Testing for nb_args = 1 | |
| time lua varlen_pack.lua 1 | |
| real 0m2,291s | |
| user 0m2,283s | |
| sys 0m0,000s | |
| time lua varlen_select.lua 1 | |
| real 0m0,626s |
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
| -- varlen_pack.lua | |
| local unpack = unpack | |
| local pack = table.pack | |
| local function varlen(...) | |
| return pack(...).n | |
| end | |
| local test = {} | |
| for i=1,arg[1] do | |
| test[i] = 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
| -- varlen_pack.lua | |
| local unpack = unpack | |
| local pack = table.pack | |
| local function varlen(...) | |
| return #pack(...) | |
| end | |
| local test = {} | |
| for i=1,arg[1] do | |
| test[i] = 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
| Testing for nb_args = 1 | |
| time lua varlen_pack.lua 1 | |
| real 0m2,403s | |
| user 0m2,400s | |
| sys 0m0,000s | |
| time lua varlen_select.lua 1 | |
| real 0m0,626s |
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
| siapran@pc-vlb-0163:~/Programming/C++/JSON_Config$ make | |
| "make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf | |
| make[1]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
| "make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/json_config | |
| make[2]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
| mkdir -p build/Debug/GNU-Linux | |
| rm -f "build/Debug/GNU-Linux/Config.o.d" | |
| g++ -c -g -MMD -MP -MF "build/Debug/GNU-Linux/Config.o.d" -o build/Debug/GNU-Linux/Config.o Config.cpp | |
| mkdir -p build/Debug/GNU-Linux | |
| rm -f "build/Debug/GNU-Linux/ErrnoException.o.d" |
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
| siapran@pc-vlb-0163:~/Programming/C++/JSON_Config$ make | |
| "make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf | |
| make[1]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
| "make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/json_config | |
| make[2]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
| mkdir -p build/Debug/GNU-Linux | |
| rm -f "build/Debug/GNU-Linux/Config.o.d" | |
| g++ -c -g -MMD -MP -MF "build/Debug/GNU-Linux/Config.o.d" -o build/Debug/GNU-Linux/Config.o Config.cpp | |
| mkdir -p build/Debug/GNU-Linux | |
| rm -f "build/Debug/GNU-Linux/ErrnoException.o.d" |
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
| [ ] => Available | |
| [X] => Taken | |
| [?] => Reserved/Unsure | |
| [ ] 2064: Read Only Memories | |
| [ ] 7 Grand Steps | |
| [ ] A Boy and His Blob | |
| [ ] A Story About My Uncle | |
| [ ] A Virus Named Tom | |
| [ ] Abyss Odyssey |
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
| siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++-4.9.3 --version | |
| g++-4.9.3 (GCC) 4.9.3 | |
| Copyright (C) 2015 Free Software Foundation, Inc. | |
| This is free software; see the source for copying conditions. There is NO | |
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++-4.9.3 -std=c++98 main.cpp -o main | |
| In file included from ArduinoJson/src/ArduinoJson/JsonArray.hpp:13:0, | |
| from ArduinoJson/src/ArduinoJson.hpp:11, | |
| from ArduinoJson/src/ArduinoJson.h:10, |
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
| siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ git clone https://github.com/bblanchon/ArduinoJson.git | |
| Cloning into 'ArduinoJson'... | |
| remote: Counting objects: 8927, done. | |
| remote: Compressing objects: 100% (131/131), done. | |
| remote: Total 8927 (delta 50), reused 0 (delta 0), pack-reused 8794 | |
| Receiving objects: 100% (8927/8927), 2.91 MiB | 537.00 KiB/s, done. | |
| Resolving deltas: 100% (6073/6073), done. | |
| siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++ -std=c++98 main.cpp -o main | |
| In file included from ArduinoJson/src/ArduinoJson/JsonArray.hpp:13:0, | |
| from ArduinoJson/src/ArduinoJson.hpp:11, |
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
| $ g++ -std=c++98 main.cpp -o main | |
| In file included from main.cpp:1:0: | |
| ArduinoJson.h:513:39: error: ‘IsBaseOf’ is not a member of ‘ArduinoJson::TypeTraits’ | |
| typename TypeTraits::EnableIf<TypeTraits::IsBaseOf< | |
| ^~~~~~~~~~ | |
| ArduinoJson.h:513:39: error: ‘IsBaseOf’ is not a member of ‘ArduinoJson::TypeTraits’ | |
| ArduinoJson.h:514:44: error: ‘RemoveReference’ in namespace ‘ArduinoJson::TypeTraits’ does not name a template type | |
| std::istream, typename TypeTraits::RemoveReference< | |
| ^~~~~~~~~~~~~~~ | |
| ArduinoJson.h:514:59: error: expected template-argument before ‘<’ token |