Comments (8)
Definitely agree on this one. I already manage to reduce the size of the library by using compile-time conditions in the code so we only use what is required. Any suggestion on how to reduce the size even further ?
from arest.
We could optimize some of the HTTP response(s)?
James Mills / prologic
E: [email protected]
W: prologic.shortcircuit.net.au
On Wed, Jul 2, 2014 at 9:29 PM, marcoschwartz [email protected]
wrote:
Definitely agree on this one. I already manage to reduce the size of the
library by using compile-time conditions in the code so we only use what is
required. Any suggestion on how to reduce the size even further ?—
Reply to this email directly or view it on GitHub
#3 (comment).
from arest.
What exactly do you propose concerning HTTP responses ? Returning less data in the JSON container?
from arest.
Yeah I don't think we need to return
id and connected in every response.
In fact we probably don't need to return JSON at all really
just return HTTP Status Codes.
200 OK == Function/Variable successful
400 ERR == Bad Request
etc
cheers
James
James Mills / prologic
E: [email protected]
W: prologic.shortcircuit.net.au
On Tue, Jul 8, 2014 at 3:07 AM, marcoschwartz [email protected]
wrote:
What exactly do you propose concerning HTTP responses ? Returning less
data in the JSON container?—
Reply to this email directly or view it on GitHub
#3 (comment).
from arest.
I recently managed to push the size of the library down (of 300 bytes) while working on integrating support for Bluetooth LE & also the Arduino Yun. Will push the update in the next days.
from arest.
That's fantastic! Thanks!
cheers
James
James Mills / prologic
E: [email protected]
W: prologic.shortcircuit.net.au
On Sat, Jul 12, 2014 at 3:01 AM, marcoschwartz [email protected]
wrote:
I recently managed to push the size of the library down (of 300 bytes)
while working on integrating support for Bluetooth LE & also the Arduino
Yun. Will push the update in the next days.—
Reply to this email directly or view it on GitHub
#3 (comment).
from arest.
Hi James, can I close the issue as I reduced the size of the library? Or do you have additional ideas on how to reduce the size?
from arest.
Yeah I think so :)
James Mills / prologic
E: [email protected]
W: prologic.shortcircuit.net.au
On Wed, Jul 23, 2014 at 9:48 PM, marcoschwartz [email protected]
wrote:
Hi James, can I close the issue as I reduced the size of the library? Or
do you have additional ideas on how to reduce the size?—
Reply to this email directly or view it on GitHub
#3 (comment).
from arest.
Related Issues (20)
- arest.io problem HOT 3
- output pin set to low at startup
- Issue with multiple Custom functions
- Unable to create a new account HOT 2
- Request example sketch for local use of API key HOT 1
- function name gets confused after 6 characters HOT 1
- 'class aREST' has no member named 'get_topic' HOT 3
- Limitations HOT 1
- ethernet_cloud sketch don't run HOT 2
- https://dashboard.arest.io/devices is not providing any way to add devices HOT 1
- Why is support for text and float variables restricted?
- aREST using UIPEthernet stack failed HOT 1
- Multiple warnings ISO C++ forbids converting a string constant to 'char*' [-Write-strings]
- To support Ethernet2.h library, this should be "ethernet_h"
- Does aREST support the Arduino Uno WiFi r2 Board ? HOT 4
- ESP8266WiFi.h: No such file or directory compilation terminated.
- rest.function() bug: command is improperly passed to function
- How to force send a HTTP 200 command in a rest.function
- CONTROLLINO MAXI AUTOMATION WITH AREST
- Freezes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arest.