El 11 de junio de 2010 14:51, Alex Queiroz asandroq@gmail.com escribió:
Hallo,
2010/6/11 Álvaro Castro-Castilla alvaro.castro.castilla@gmail.com:
Hi,
I can see sometimes these kind of procedures ##car, ##cdr, ##null? etc...
in
code that has been optimized for Gambit. What is exactly the difference between those and the standard ones? And if these ones are faster, why
are
they defined as separate functions instead of just substituting the
standard
ones when in (unsafe) compilation? Then, how are they really used?
$ gsi
(car '())
*** ERROR IN (console)@1.1 -- (Argument 1) PAIR expected (car '()) 1> ,d
(##car '())
Segmentation fault
Cheers,
Hi, thanks for your answer. But that is what I meant by the unsafe compilation. Why isn't this accomplished just with standard procedures plus the (not safe) declaration? so the code is more portable and also looks nicer...