Giter VIP home page Giter VIP logo

Comments (8)

marcoschwartz avatar marcoschwartz commented on July 30, 2024

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.

prologic avatar prologic commented on July 30, 2024

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.

marcoschwartz avatar marcoschwartz commented on July 30, 2024

What exactly do you propose concerning HTTP responses ? Returning less data in the JSON container?

from arest.

prologic avatar prologic commented on July 30, 2024

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.

marcoschwartz avatar marcoschwartz commented on July 30, 2024

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.

prologic avatar prologic commented on July 30, 2024

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.

marcoschwartz avatar marcoschwartz commented on July 30, 2024

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.

prologic avatar prologic commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.