Commit Graph

19 Commits (master)

Author SHA1 Message Date
Marius Kintel 2e8d93d5be Some Expression refactoring 2014-11-25 17:08:14 -05:00
Marius Kintel 2644b19ce7 Reimplemented serialization of expression to string after last refactoring 2014-11-25 15:05:36 -05:00
Marius Kintel be9b0ee925 indentation 2014-11-25 11:26:14 -05:00
Torsten Paul dc8f559b85 Use class hierarchy for the different types of expressions. 2014-11-24 23:37:42 +01:00
Torsten Paul 6ed14dafb0 Remove big switch statement from expression evaluation.
The switch statement causes a huge stack overhead that is very bad for
evaluating recursive functions.
2014-11-24 00:53:46 +01:00
Marius Kintel 406e6e1bac #409 Pass Value objects as shared_ptr instances instead of by Value to battle excess stack usage 2014-11-23 00:59:17 -05:00
Marius Kintel 0ae6ea9c8a doc 2014-05-25 15:59:46 -04:00
Oskar Linde 0a610baf5b Refactor let and list comprehension expressions a little
to be more in line with the other expression evaluation refactoring to minimize stack space
2014-05-22 21:51:29 +02:00
Marius Kintel 0e3b2d0f2f Merge branch 'list-comprehensions' of git://github.com/OskarLinde/openscad into OskarLinde-list-comprehensions 2014-05-13 13:22:27 -04:00
Oskar Linde b611ed5eac Add list-comprehensions 2014-05-03 17:24:44 +02:00
Tim V. Shaporev ebb075315f low-level optimization to reduce stack usage & accelerate calculations 2014-05-02 10:03:46 +04:00
Ben Gamari ff466c2189 Switch from #define guards to #pragma once
As well as a few whitespace cleanups
2014-04-28 13:32:19 -04:00
Marius Kintel ee6f149dd0 bugfix: Fixed recursion crash (#346) 2013-05-13 16:27:17 -04:00
Marius Kintel ba20c0e800 Modified parse to allow overloading of variables in local blocks. Also did some minor cleanups while at it. Test cases missing 2013-04-26 18:32:19 -04:00
Marius Kintel 58bd9c9e3f Cleaned up argument list handling, related to #116 2013-04-18 18:34:14 -04:00
Marius Kintel 327310f190 Rewrote the Value class to be based on boost::variant - this should reduce memory footprint and improve performance 2012-03-28 00:05:58 +02:00
Marius Kintel 6f632190a0 Ported a bunch of stuff from Qt to STL 2011-09-03 06:10:36 +02:00
Marius Kintel e0a068a0e8 Refactored some QString usage in the backend to std::string 2010-11-07 16:29:34 -05:00
kintel 191dc4857c header file reorg
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:26:05 +00:00