VasiliyRyabtsev b4f600ebc0 Fix creating unnecessary temporary object with refcount
Using the SQObject& is enough for HashObj() function.

In the following code

  RefTable::RefNode *RefTable::Get(SQObject &obj,SQHash &mainpos,RefNode **prev,bool add)
  {
    RefNode *ref;
    mainpos = ::HashObj(obj)&(_numofslots-1);

obj was SQObject and because HashObj() accepted SQObjectPtr&, a temporary
SQObjectPtr was created and refcounting was performed, which only lead to
unnecessary overhead.
2020-10-29 00:22:00 +03:00
2016-02-15 20:51:20 +01:00
2016-02-15 20:51:20 +01:00
2019-07-29 22:13:13 -04:00
2018-10-20 22:50:19 +03:00
2017-06-14 14:09:53 +02:00
2019-07-29 22:13:13 -04:00
2017-07-15 10:05:08 -03:00
2019-03-12 21:57:54 +08:00
2015-12-22 03:14:21 +08:00

The programming language SQUIRREL 3.1 stable

--------------------------------------------------
This project has successfully been compiled and run on
 * Windows (x86 and amd64)
 * Linux (x86, amd64 and ARM)
 * Illumos (x86 and amd64)
 * FreeBSD (x86 and ARM)

The following compilers have been confirmed to be working:
    MS Visual C++  6.0 (all on x86 and amd64)
                   7.0   |
                   7.1   v
                   8.0
                   9.0
                  10.0
                  12.0  ---
    MinGW gcc 3.2 (mingw special 20020817-1)
    Cygnus gcc 3.2
    Linux gcc 3.2.3
              4.0.0 (x86 and amd64)
              5.3.1 (amd64)
    Illumos gcc 4.0.0 (x86 and amd64)
    ARM Linux gcc 4.6.3 (Raspberry Pi Model B)


Feedback and suggestions are appreciated
project page - http://www.squirrel-lang.org
community forums - http://forum.squirrel-lang.org
wiki - http://wiki.squirrel-lang.org
author - alberto@demichelis.net

END OF README
Description
Official repository for the programming language Squirrel
Readme 29 MiB
Languages
C++ 88.4%
C 9.1%
CMake 2%
Makefile 0.5%