swdunlop / WaspVM

The Wasp Lisp Virtual Machine, Associated Libraries, and MOSREF
http://sites.google.com/site/waspvm/
103 stars 17 forks source link

Fix type of vector length to be integer sized #11

Closed doublec closed 7 years ago

doublec commented 7 years ago

The length was of type word which resulted in issues when vectors greater than 65,535 elements were created and then indexed. For example:

(vector-length (make-vector 70000))
=> 4464
swdunlop commented 7 years ago

Thank you, @doublec :)