mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-12 14:38:42 +01:00
b4f600ebc04ba1ebbc2bad0b3dfb5f18d5b11686
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.
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
Languages
C++
88.4%
C
9.1%
CMake
2%
Makefile
0.5%