Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3484|回复: 1

SKILL Physical Limits for Functions

[复制链接]
发表于 2013-6-1 23:36:32 | 显示全部楼层 |阅读模式
The following physical limitations exist for functions:
 Total number of required arguments is less than 255
 Total number of keyword/optional arguments is less than 255
 Total number of local variables in a let is less than 255
 Max number of arguments a function can receive is less than 32KB
 Max size of code vector is less than 32KB
The limitation on the size of the code vector is new. In the past, there was no limit on the size
of a SKILL function. Code vectors are limited to functions that can compile to less than 32KB
words. This translates roughly into a limit of 20000 lines of SKILL code per function. The
maximum number of arguments limit of 32KB is mostly applicable in the case when functions
are defined to take an @rest argument or in the case of apply called on an argument list
longer than 32KB elements.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|网站地图|Cadence Skill 论坛 ( 蜀ICP备13024417号 )

GMT+8, 2024-4-29 12:53 , Processed in 0.125751 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表