Giter Club home page Giter Club logo

simple-rgb's People

Contributors

bnmcgn avatar wmannis avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simple-rgb's Issues

Misnamed function COMPLIMENT-RGB

The function COMPLIMENT-RGB actually implements the "complement" 
procedure.  It should be renamed COMPLEMENT-RGB for correctness.

Attached is a patch affecting package.lisp, rgb.lisp and test-rgb.lisp to 
this effect.

As a precedent, note the use of "complement" in the Adobe docs 
http://livedocs.adobe.com/en_US/Illustrator/13.0/help.html?content=WS714a382cdf7
d304e7e07d0100196cbc5f-6288.html

Original issue reported on code.google.com by [email protected] on 30 Aug 2008 at 5:19

Attachments:

Make functions inlineable

I would like to depend on simple-rgb in a place that requires hue-shifting RGB colors with high performance, therefore I would like to be able to locally inline the code for the relevant functions.

Please make rgb->hsv, hsv->rgb, rotate-hsv and rotate-rgb locally inlineable as per the CLHS example noted below.


The CLHS says:

To define a function f that is not inline by default but for which (declare (inline f)) will make f be locally inlined, the proper definition sequence is:

(declaim (inline f))
(defun f ...)
(declaim (notinline f))

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.